Backbone.Subset
Backbone.Subset copied to clipboard
Provides a collection-like constructor that allows you create a collection that is subset from a parent one
I simply ensured tests pass, I did not check the logic in depth. Feel free to comment.
It appears this repo has gone dormant. I've been using this plugin for awhile, and fixed a couple bugs. 1) Since _byCid was deprecated, the _updateModelMembership function broke. This has...
If you create a new instance of a Backbone.Subset, it does not act as an instance of a Backbone.Collection: !(mySubset instanceof Backbone.Collection) === true This is a problem because it...
It may be a documentation issue, or it may be a bug, I can't tell. [Line 59](https://github.com/masylum/Backbone.Subset/blob/3fe14c5a3f4fcb4962c68358e45048272376c44e/backbone.subset.js#L59) results in an error because `this.models` (usually set in the Backbone.Collection constructor) hasn't...