Closed scavassa91 closed 7 years ago
To fix this problem I've done this.
else if(typeof define === 'function' && define.amd)
define(['underscore', 'backbone'], factory);
Hi guys, I've closed this ticket and published v2.0.1 to NPM. Thanks for your patience and to the guys who published fixed outputs to (hopefully) keep people's builds working in the meantime 👍
Hello @scott-w, I've tested the solution but i noticed that underscore is named as backbone and this cause another problem. Would you like that I make a pull request to fix this issue?
Hi @scavassa91 - thanks for this, I'll reopen the issue 👍
@scavassa91 I've sorted this and published a new build to NPM @2.0.2. Thanks for the quick spot!
I'm loading BackBone LocalStorage with requirejs and it returns this error
I'm thinking that is related with the AMD verification in the beginning of the code, because the object is always undefined.