You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Getting
Uncaught Reference error: Backbone is not defined
when i compile withr.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.
The text was updated successfully, but these errors were encountered: