dbrady/ligament.js

Get rid of .registerModel/.registerCollection methods

fbuchinger opened this issue · 0 comments

With the overrideable Backbone.extend Method you can probably do the model/collection registration as soon as a new Ligament Model/Collection is defined (i.e. Ligament.Model.extend is invoked).

Therefore you don't need the two methods above. The necessary mapping keys could be specified directly on the model/collection via class variables.