![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Juicer
文章平均质量分 70
kongjunchao159
这个作者很懒,什么都没留下…
展开
-
Juicer模板引擎
text/template" id="tpl"> {@each list as item,index} ${item.name} index=${index} {@/each} {@each number as item} ${ite原创 2015-08-06 15:07:31 · 1224 阅读 · 0 评论 -
juicer语法
根据所给数据编译模板立即渲染出结果 juicer(tpl,data) 仅编译暂不渲染 var compiled_tpl = juicer(tpl) 根据所给的数据对编译好的模板进行渲染 var html = compiled_tpl.render(data) 注册自定义函数 juicer.register('function_name',function(){}) 注销自定义函原创 2015-10-17 09:05:45 · 2029 阅读 · 0 评论