Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I use script tag to import qrcode.js, it works well, but when I package qrcode.js , it has a error. #91

Closed
treadpit opened this issue Jul 22, 2016 · 3 comments

Comments

@treadpit
Copy link

In main.js, I use these code to import qrcode.js

import "../lib/qrcode.min"

Then I package it use webpack, and open the html in browser, in the console:

Uncaught TypeError: Cannot read property '_android' of undefined

why? Can you help me? Thanks!

@wjs
Copy link

wjs commented Aug 23, 2016

The save error for me. I modified the source code to make it works 😂

@markvantilburg
Copy link
Contributor

see #84 the .min file is 3 years old where the non minified version is 2 years old...

@treadpit
Copy link
Author

@markvantilburg get it, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants