【文件属性】:
文件名称:smartyjs:Smarty 2 JavaScript模板库
文件大小:4.69MB
文件格式:ZIP
更新时间:2021-05-21 05:52:28
JavaScript
smartyjs
php lib Smarty 2到js world的简单移植。 几年前完成,但现在对所有人开放。
文件: :
特征
Vanilla js,带有额外的jQuery支持
不完全,但经过测试
您可以轻松添加新的实体,函数和修饰符
异步包含
支持的标签:
if, else, elseif
foreach, foreachelse, break, continue
for
while
capture
include
assign
html_options
html_radios
dump
支持的修饰符:
default
length
substr
upper
lower
cat
nl2br
truncate
split
join
isset
empty
escape
date_format
例子
smarty . confi
【文件预览】:
smartyjs-master
----sources()
--------smarty.js(103KB)
--------smarty-min.js(33KB)
----.gitignore(8B)
----README.md(1KB)
----compile.sh(105B)
----qunit()
--------qunit.css(4KB)
--------qunit.js(37KB)
----tests.js(6KB)
----jquery()
--------jquery-1.6.1.js(229KB)
--------tpl.jquery.html(4KB)
--------jquery.smarty.js(1KB)
----tools()
--------compiler.jar(5.02MB)
----index.html(621B)