Reputation: 2796
I'm using Ember.js 1.13.10
I get an Assertion Error helper 'each-in' could not be found
I searched the code in my bower component and indeed the each-in helper is not in the codebase
I don't understand why it is not there, it is in both the 1.13 and 2.0 guides and as far as I know ember 1.13 is identical to 2.0 minus the depreciations. each-in is a new feature which I can see on the github repo.
Update
submitted an issue turns out each-in was a added incorrectly in the 1.13 guide
Upvotes: 2
Views: 478
Reputation: 6577
The inclusion of each-in
an get
in the 1.13 was an oversight of the documentation team when cutting the deploy. You can track our fixing it at https://github.com/emberjs/guides/issues/811.
Upvotes: 1
Reputation: 18672
The each-in
helper has been added in Ember v2.0.0 beta. You can read about it in EMBER.JS 1.13.0 AND 2.0 BETA RELEASED blog post.
In this blog post, section about each-in
helper is under EMBER 2.0 BETA
.
You could probably submit pull request to Ember guides to remove mentions of each-in
helper from 1.13 guides if it is indeed present.
So, to sum sup -each-in
helper was introduced in v2.0.0 beta and it isn't present in v1.13 source - should be each-in path. It also can't be enabled by feature flag, because no such feature flag present.
Upvotes: 2