nytimes / backbone.trackit

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

Backbone Uncaught reference error #28

Open arasan1289 opened 8 years ago

arasan1289 commented 8 years ago

Getting Uncaught Reference error: Backbone is not defined when i compile with r.js optimizer using grunt. But when i change the anonymous function to a AMD function i.e.,

define(['backbone'], function(Backbone) { \\Contents of function }); the code is working properly.