Open kar2905 opened 12 years ago
I know it's been a while, but I'm wondering if my fork works with your scenario. I haven't needed or tried to namespace RequireJS before, so I don't know. https://github.com/dawsontoth/requirejs-tpl/blob/master/tpl.js I'm guessing it will work, though.
I am using the namespace option with r.js and it does not rename the tpl define statements.
eg: define('tpl!templates") ---> namespace.define('tpl!templates")