Previously inside renderCollection the reRender function was passing the model index as the collection argument. This caused this.collection inside any views from renderCollection to be set to a number instead of the collection.
Added some tests to make sure model and collection are always properly set on any views created from renderCollection.
Previously inside
renderCollection
thereRender
function was passing the model index as the collection argument. This causedthis.collection
inside any views from renderCollection to be set to a number instead of the collection.Added some tests to make sure
model
andcollection
are always properly set on any views created from renderCollection.