Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of .registerModel/.registerCollection methods #3

Open
fbuchinger opened this issue Mar 22, 2011 · 0 comments
Open

Get rid of .registerModel/.registerCollection methods #3

fbuchinger opened this issue Mar 22, 2011 · 0 comments

Comments

@fbuchinger
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant