开发者

How do I use Jammit with EJS javascript templates?

开发者 https://www.devze.com 2023-04-04 09:41 出处:网络
Has anyone used Jammit with EJS javascript templates?I can\'t figure out how I should load a new template with jammit.It\'s causing me caching issues.

Has anyone used Jammit with EJS javascript templates? I can't figure out how I should load a new template with jammit. It's causing me caching issues.

Here is how you would normally load a template. Not sure how I would do it using Jammit.开发者_StackOverflow中文版

http://code.google.com/p/embeddedjavascript/wiki/Templates html = new EJS({url: '/template.ejs'}).render(data)

0

精彩评论

暂无评论...
验证码 换一张
取 消