Backbone.GroupedCollection
Backbone.GroupedCollection copied to clipboard
Backbone GroupedCollection is for creating dynamic sub-collections
> `// removing elements > animals.remove(animals.findWhere({name: 'cat'})); > grouped_animals.pluck('id'); // ['black', 'green']` On the explanation of 'How does it work?' In this code is it meant to read the animal...
Require backbone-virtual-collection if Backbone has been loaded using require.
In `GroupedCollection` you only check for `close_with` even though it also listens for `destroy` events. This is inconsistent with `VirtualCollection` where you explicitly checks for both `close_with` and `destroy_with` and...