- Compares models by
idby default. Other comparator options are available as well. - Bug fix: An
inevent wasn't being called on the model for the collection it was being added to. - No longer relies on
model.collectionto determine the collection name. If a single model is part of two collections, this is unreliable. An error will be thrown if the collection name cannot be determined internally.
- When a
resetevent is triggered on a collection, it will only compare that collection using the compare by name feature in v0.0.5
- Added
names...parameter to#compareto only compare the collection(s) passed to#compare. Refactored a lot of the guts to make this work. - The object passed to the comparator will have '0' and '1' properties on the object. Likewise, you cannot add a collection named '0' or '1'. This is in preparation for a default comparator.
- Added a
#getmethod to get a collection by name
- Added the
unsetmethod to remove a collection from a CoComp instance - Changed the
compare: falseoption#settosilent: truewhich is consistent with Backbone
- This is the starting version with very basic functionality