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
Clicking "change color" causes the Ember.computed.map version to add duplicate values. If you observe mappedModel and console.log its value on change, it actually changes four times.
The text was updated successfully, but these errors were encountered:
@jskeate most of these issues have been resolved in 2.0. As the whole internals of these array computed macros are now lazy and simplified.
The world is unlikely to be back-ported, as the change was quite involved [https://github.com//pull/11513] and many apps depend on todays spurious change events.
In theory someone could extract these 2.0 macros and provide them as an addon to older systems. It is unlikely we will have time ourselves to support and provide this due to time constraints.
Unless I have misunderstood the issue, I believe this is fixed in 2.0 and should likely be closed.
See this JSBin:
http://emberjs.jsbin.com/pulabawezu/1/edit?html,js,output
Clicking "change color" causes the
Ember.computed.map
version to add duplicate values. If you observemappedModel
andconsole.log
its value on change, it actually changes four times.The text was updated successfully, but these errors were encountered: