Uncaught ReferenceError: QRErrorCorrectLevel is not defined #23

Open
fotoflo opened this Issue Apr 14, 2012 · 3 comments

Comments

Projects
None yet
3 participants
@fotoflo

fotoflo commented Apr 14, 2012

i've followed the directions as mentioned in the readme, but am getting this issue

jQuery.qrcode.js:15Uncaught ReferenceError: QRErrorCorrectLevel is not defined, on line 15

@fotoflo

This comment has been minimized.

Show comment Hide comment
@fotoflo

fotoflo Apr 14, 2012

I think i've fixed that by changing line 15:

        correctLevel    : QRErrorCorrectLevel.H,

to
correctLevel : "QRErrorCorrectLevel.H",

fotoflo commented Apr 14, 2012

I think i've fixed that by changing line 15:

        correctLevel    : QRErrorCorrectLevel.H,

to
correctLevel : "QRErrorCorrectLevel.H",

@jwittkoski

This comment has been minimized.

Show comment Hide comment
@jwittkoski

jwittkoski Jul 16, 2012

@fotoflo The fix you listed does not set the QRErrorCorrectLevel as you expect (although it does get rid of the error).

It seems like you would only see this error if you use the src/jquery.qrcode.js file directly instead of the jquery.qrcode.min.js file (which contains both src/jquery.qrcode.js and src/qrcode.js).

See the Makefile for how they are combined.

@fotoflo The fix you listed does not set the QRErrorCorrectLevel as you expect (although it does get rid of the error).

It seems like you would only see this error if you use the src/jquery.qrcode.js file directly instead of the jquery.qrcode.min.js file (which contains both src/jquery.qrcode.js and src/qrcode.js).

See the Makefile for how they are combined.

@j717273419

This comment has been minimized.

Show comment Hide comment
@j717273419

j717273419 Nov 20, 2013

Yeah!

Use jquery.qrcode.min.js,

It's worked!

Yeah!

Use jquery.qrcode.min.js,

It's worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment