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

Fix Model.List.prototype.findAll() in IE8. #506

Merged
merged 2 commits into from
Oct 28, 2013

Conversation

asavoy
Copy link
Contributor

@asavoy asavoy commented Oct 21, 2013

In IE8, Model.List.prototype.findAll() would trigger "Function.prototype.apply: Array or arguments object expected", since it doesn't like apply() with a Model.List instead of a normal list.

We added a test to /can/model/list/qunit.html which has the error, and shows the fix works.

@imjoshdean
Copy link
Contributor

Yup, I see your error, ran your test with and without your fix, and it seems to be working. Merging.

imjoshdean added a commit that referenced this pull request Oct 28, 2013
Fix `Model.List.prototype.findAll()` in IE8.
@imjoshdean imjoshdean merged commit d02d9f9 into canjs:master Oct 28, 2013
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

Successfully merging this pull request may close these issues.

None yet

2 participants