You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When upgrading from 1.12 to 1.13, more than deprecation warnings, I saw a breaking change (bug?) in View context handling on {{each}}. JSBin sample is here.
In short:
Main template: {{each item in model itemViewClass='sample'}}
Sample view template: <p>1.12: {{item.name}} || 1.13: {{name}}</p>
On 1.12 the view's context would contain the iteration instance item. On 1.13 that's not there anymore, as that instance is itself the view context.
I saw nothing on this matter on docs, changelogs or deprecations list. Am I blindly searching or is this a real issue for who's moving to 1.13?
The text was updated successfully, but these errors were encountered:
igorsantos07
changed the title
[1.13.0-beta.1] View scope changing on {{each}}
[1.13.0-beta.1] View context changed on {{each}}
May 18, 2015
When upgrading from 1.12 to 1.13, more than deprecation warnings, I saw a breaking change (bug?) in View context handling on
{{each}}
. JSBin sample is here.In short:
Main template:
{{each item in model itemViewClass='sample'}}
Sample view template:
<p>1.12: {{item.name}} || 1.13: {{name}}</p>
On 1.12 the view's context would contain the iteration instance
item
. On 1.13 that's not there anymore, as that instance is itself the view context.I saw nothing on this matter on docs, changelogs or deprecations list. Am I blindly searching or is this a real issue for who's moving to 1.13?
The text was updated successfully, but these errors were encountered: