nytimes / backbone.trackit

Manage unsaved changes in a Backbone Model.
202 stars 33 forks source link

unsavedChanges: pass a reference to the changed model #6

Closed sdemjanenko closed 10 years ago

sdemjanenko commented 10 years ago

This will be useful for putting an unsavedChanges listener on a collection. Without this I cannot associate the changed attributes with a particular model. I am interested in having access to the model's id so that I can batch save many models at once.

delambo commented 10 years ago

Thanks for the pull @sdemjanenko.