I have use Backbone with requirejs to load templates, i was news native port for greate puremvc architecture, and i trying replace Backbone.
I try load with requirejs but i couldn't. There is any way to add something like that:
if (typeof module !== 'undefined' && module.exports) {
module.exports = puremvc;
} else if (typeof define === 'function' && define.amd) {
define(function(){return puremvc;});
}
I think that define from requirejs is coliding with define from puremvc.
Any sugestion?
thank you guys.