nytimes / backbone.trackit

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

UMD support #11

Closed jcarrig closed 7 years ago

jcarrig commented 10 years ago

This patch adds a task to the grunt build script, that will surround backbone.trackit with UMD boilerplate. This adds Browserify support while keeping it backwards compatible with how it worked before. I think that others may find this useful.

delambo commented 7 years ago

I think we're going to insert the umd boilerplate at the top of the main file, like https://github.com/NYTimes/backbone.trackit/pull/23. Sorry for the delay and thank you for your work.