javascript - Backbone Collection add strange behavior in Firefox -


faced such strange problem backbone collection. tried add new elements in these way:

sortcollection.add([         {id: "recommended", title: 'recommend movies'},         {id: "popular",     title: 'popular movies'},         {id: "watch",       title: 'watching now'},         {id: "add",         title: 'last editions'}     ]); 

but, when tried render 1 item id="watch" disappeared. furthermore, if console.log(sortcollection.length) there 3 items.

jsfiddle code here - jsfiddle sample

thanks @doctororange:

this issue seems have been uncovered , solved recently: github.com/jashkenas/backbone/issues/2719

problem solved.

this issue seems have been uncovered , solved recently

https://github.com/jashkenas/backbone/issues/2719


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

IIS->Tomcat Redirect: multiple worker with default -