病みつきエンジニアブログ

機械学習、Python、Scala、JavaScript、などなど

2012-07-19から1日間の記事一覧

QRcode generation plugin without jQuery

https://github.com/yamitzky/render-qrcodeTo use the plugin, first, you have to load javascript like the following; <script type="text/javascript" src="render.qrcode.min.js"></script> then, you have to make an element a QRcode appended to. <div id="qrcode-element"></div> finally, call qrcode() functi…

jQuery を使わずにQRコードを生成するプラグイン作った

作ったんじゃなくてパクったんじゃないかな、っていうね! https://github.com/yamitzky/render-qrcode使い方は簡単で、 <script type="text/javascript" src="render.qrcode.min.js"></script> とかやってプラグインを読み込みます。書き込む要素を <div id="qrcode-element"></div> とかやって作っておきます。 document.getElementById('qrcode-element').qrco…