Skip to content

Get rid of .registerModel/.registerCollection methods #3

@fbuchinger

Description

@fbuchinger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions