vecnatechnologies / backbone-torso

A holistic approach to Backbone applications
http://vecnatechnologies.github.io/backbone-torso
Apache License 2.0
17 stars 20 forks source link

call render/update based on existing models inside ListView.setCollection() #256

Open mandragorn opened 8 years ago

mandragorn commented 8 years ago

Workaround:

  var someCollection = new Collection(null, options);
  listView.setCollection(someCollection);
  listView.collection.set(initialModelContent);
mandragorn commented 8 years ago

To fix: if there is content in the collection when setCollection() is called, then invoke the appropriate events.