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

TypeError on Safari #100

Closed
edoloughlin opened this issue Jan 17, 2011 · 3 comments
Closed

TypeError on Safari #100

edoloughlin opened this issue Jan 17, 2011 · 3 comments

Comments

@edoloughlin
Copy link

On Safari 5.0.3 on OS/X 10.6.6 I get the following error when I use underscore.js v1.1.4:

TypeError: Result of expression 'iterator.call' [undefined] is not a function.

...on line 136.

@ghost
Copy link

ghost commented Jan 17, 2011

Would you mind sharing the code that produces the error, please?

@edoloughlin
Copy link
Author

I was calling _.detect, but it was my first time using Underscore and I just realised that I wasn't using it correctly. I was passing a variable as the second arg instead of a function. I was in too much of a hurry to look in detail and just implemented a loop myself.

@ghost
Copy link

ghost commented Jan 18, 2011

Oh, okay. Glad you were able to figure it out.

This issue was closed.
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

1 participant