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

When implemented using Require.js in Durandal, I get "o.forEach is not a function" #94

Closed
MKoen opened this issue Oct 19, 2017 · 3 comments

Comments

@MKoen
Copy link

MKoen commented Oct 19, 2017

Problem on my side, or on the script's side? (Or with ES compatability?

instascan.min.js:formatted:8058 Uncaught TypeError: o.forEach is not a function
    at Object.init (instascan.min.js:formatted:8058)
    at i (instascan.min.js:formatted:13598)
    at Function.create (instascan.min.js:formatted:13793)
    at i.value (instascan.min.js:formatted:15798)
    at new i (instascan.min.js:formatted:15680)
    at Object.startScanning (transfer-overview.js:566)
    at HTMLButtonElement.<anonymous> (knockout-3.4.0.js:89)
    at HTMLButtonElement.dispatch (jquery-1.12.1.js:5226)
    at HTMLButtonElement.elemData.handle (jquery-1.12.1.js:4878)
@xiulizhao
Copy link

I also encountered this problem, how can I solve the problem, thank you

@MKoen
Copy link
Author

MKoen commented Sep 27, 2018

I also encountered this problem, how can I solve the problem, thank you

I ended up using a different library.

@MKoen MKoen closed this as completed Sep 27, 2018
@joshi1983
Copy link

I ran into the same problem while trying to use instascan.min.js in a Durandal application.

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