Open damienklinnert opened 11 years ago
You might check out https://github.com/ZeeAgency/requirejs-tpl/pull/11 if you haven't already (and my fork). It uses underscore.js, so you'd have access to anything their templates can do.
Does this mean <%- %> tag is still not supported? Sorry if I missed the answer.
Check out my fork, @jdaudier. It is supported there.
@dawsontoth Does this mean I have to use your version of the tpl.js file on https://github.com/dawsontoth/requirejs-tpl/tree/c28fe540d670681b775363c511583a6b7bd5917d?
Yes. Try it for yourself. Decide if you like it, it works, etc.
It didn't work for me @dawsontoth. Is there something special I need to do other than just saving over my old tpl.js with this one? https://raw.githubusercontent.com/dawsontoth/requirejs-tpl/master/tpl.js
@jdaudier I created a new issue over on my fork -- https://github.com/dawsontoth/requirejs-tpl/issues/3 -- let's continue this discussion there!
this would be great, because escaped output is often necessary!