超级模板引擎 Super Mustache

码农软件 · 软件分类 · 模板引擎 · 2019-08-22 17:57:10

软件介绍

项目介绍

超级模板引擎Super Mustache
延续了Mustache经典的{{}}变量形式
1.0版本代码比Mustache少90倍
1.0版本速度比Mustache提升至少3倍
1.0版本体积仅有400多b

安装教程

使用<script>引入即可

使用说明

使用SM().do()来使用Super Mustache
其中SM()构造方法的括号里有2个参数,分别是“模板”和“var对象”
方法会用return返回,如果还是看不懂,请查看Demo

提示

Super Mustache默认会转义{{}}变量里的HTML代码,如果不想转义,请使用{{{}}}来引用变量

本文地址:https://codercto.com/soft/d/12940.html

Learning Processing

Learning Processing

Daniel Shiffman / Morgan Kaufmann / 2008-08-15 / USD 49.95

Book Description Teaches graphic artists the fundamentals of computer programming within a visual playground! Product Description This book introduces programming concepts in the context of c......一起来看看 《Learning Processing》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试