【发布时间】:2013-02-08 00:45:24
【问题描述】:
是否可以在 underscore.js 或 lodash 中添加非 html cmets ?
类似:
<%-- We do this here because... %>
所以评论不在生成的html代码中?
如果我写:
<!-- We do this here because... -->
评论在生成的 html 中。
谢谢。
【问题讨论】:
-
你的意思是在模板里面?如果没有,就用JS cmets
标签: javascript underscore.js lodash