'jquery.qrcode.min.js' does not contain 'QRErrorCorrectLevel' symbol.
I think that 'closurec' tool renames its name.
But calling '.qrcode()' with 'correctLevel' option require it.
Example: (this is not work)
<script src="jquery.qrcode.min.js">
<div id="qrcode"></div>
<script>
jQuery('#qrcode').qrcode({text : 'TEXT', correctLevel : QRErrorCorrectLevel.L});
</script>
Hi, Thank you for this useful tool.
'jquery.qrcode.min.js' does not contain 'QRErrorCorrectLevel' symbol. I think that 'closurec' tool renames its name. But calling '.qrcode()' with 'correctLevel' option require it.
Example: (this is not work) <script src="jquery.qrcode.min.js"> <div id="qrcode"></div> <script> jQuery('#qrcode').qrcode({text : 'TEXT', correctLevel : QRErrorCorrectLevel.L}); </script>
src/qrcode.js: //--------------------------------------------------------------------- // QRErrorCorrectLevel //---------------------------------------------------------------------
var QRErrorCorrectLevel = { L : 1, M : 0, Q : 3, H : 2 };
jquery.qrcode.min.js: v={L:1,M:0,Q:3,H:2}