backbone.trackit
backbone.trackit copied to clipboard
Backbone Uncaught reference error
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.