jmorrell/backbone.obscura — pull request #18 by jmorrell (2014-05-31 19:20:45+00:00)
Title: Make Obscura extend Backbone.Collection

Obscura proxies currently don't have any relation to Backbone Collections, but this can cause issues in some libraries that [check to see if the collection is an instanceof Backbone.Collection](https://github.com/gmac/backbone.epoxy/blob/master/backbone.epoxy.js#L33).

This changes Obscura proxies to inherit from `Backbone.Collection` and then overrides all of the collection methods. Those methods which modify the original collection are replaced with methods that throw an exception, which should help users avoid doing something weird.