JulienCabanes / requirejs-tpl

RequireJS Template Plugin
207 stars 43 forks source link

Namespace not honoured while building tpl #3

Open kar2905 opened 12 years ago

kar2905 commented 12 years ago

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")

dawsontoth commented 11 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.