PaulGuo / Juicer

A Lightweight JavaScript Template Engine.
http://juicer.name
MIT License
915 stars 261 forks source link

与<%= %> 语法的模板冲突 #63

Open wwwfuzheng opened 9 years ago

wwwfuzheng commented 9 years ago

历史原因 项目中需要使用juicer做后台渲染,用undenscore做前台渲染,发现模板冲突,juicer后台渲染的时候回去读 <%= ,我看了源码,貌似juicer底层也是用这种语法的,请问如何设置能避免冲突?

wwwfuzheng commented 9 years ago

https://github.com/PaulGuo/Juicer/blob/master/src/juicer.js#L244