I am getting weird behavior in 1.0-pre4. I have an Ember.ContainerView
added to my template via {{view Ember.ContainerView viewName="dashboardView"}}
. When I push views into its childViews
array, the DOM does not update. This was working in pre2.
Here's a jsfiddle. What's even stranger in there is that it seems childViews.length
doesn't update...or rather it does and doesn't (?!?), if you look at the direct output from the template vs. childViewCount, which is updated immediately after pushing two views.
Update
Below answer was correct, my jsfiddle should have used .pushObject
, not .push()
...but my original code actually used .pushObject
. Instead it looks like a bug in Firefox 10, see comments on answer.
Update 2
Confirmed against master, filed issue #1952.