-
-
Notifications
You must be signed in to change notification settings - Fork 975
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
lodash / underscore not working on pages with html5-qrcode added #284
Comments
I have the same issue: Cannot use _.template() when adding html5-qrcode |
@janfschmidt I tried to run the attached jsfiddle link, I can see the console error - but rest of the things seem to work fine. Can you confirm if there is issue beyond the error seen on console? |
@mebjas the qrcode scanner keeps working BUT the lodash functions do not |
Working on a fix |
Can you try with latest version of the code - https://unpkg.com/[email protected]/html5-qrcode.min.js ^ I tried, seemed to work for me. (I am still verifying different components and will update documentations later.) |
I can confirm that it is now working with _.template() in my code :-) |
Thanks for confirming, closing |
Describe the bug
Using html5-qrcode in a html5 application, any lodash calls like _.debounce fail with an unknown function error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Both lodash and html5-qrcode to co-exist
Example
See jsfiddle https://jsfiddle.net/joshmarshall/v51z90w8/7/
The text was updated successfully, but these errors were encountered: