gamonjs:简单的 Javascript 模板引擎

时间:2021-06-09 15:28:12
【文件属性】:
文件名称:gamonjs:简单的 Javascript 模板引擎
文件大小:48KB
文件格式:ZIP
更新时间:2021-06-09 15:28:12
JavaScript 加蒙JS GamonJS 是另一个 Javascript 模板引擎 用法 对于演示,您可以查看演示文件夹 定制范围胶 默认情况下,gamon 将使用点 (.) 作为范围粘合剂 //custom scope glue gamon.scopeGlue("::"); 注释 您可以通过将文本包裹在 {{# #}} 中来向模板添加注释。 {{# this text will not gonna rendered #}} {{# They can be multi-line too. #}} 防止解析 如果您想在模板中使用包含 gamon 标记的文本,例如 {{ your text }},您可以使用 gamon noparse 标记。 例如: {{ noparse }} {{ this text wont be parsed }} {{ if array|lengt
【文件预览】:
gamonjs-master
----README.md(5KB)
----LICENSE(1KB)
----gamon-1.0.js(14KB)
----gamon-1.0.min.js(7KB)
----demo()
--------css()
--------partials()
--------js()
--------index.html(877B)

网友评论