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

[BUGFIX release] Prevent assertion for falsey ArrayController models. #10815

Merged
merged 1 commit into from Apr 3, 2015

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Apr 3, 2015

Allow {{each foos itemController="foo" as |foo|}} when foos is undefined, null, false, or [].

Fixes #10796.

Allow `{{each foos itemController="foo" as |foo|}}` when `foos` is
`undefined`, `null`, `false`, or `[]`.
rwjblue added a commit that referenced this pull request Apr 3, 2015
[BUGFIX release] Prevent assertion for falsey ArrayController models.
@rwjblue rwjblue merged commit ee19bd4 into emberjs:master Apr 3, 2015
@rwjblue rwjblue deleted the avoid-assertion-for-falsey-models branch April 3, 2015 02:24
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.

"ArrayController expects model to implement the Ember.Array mixin" error when using #each with itemController
1 participant