We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GMU 模板引擎 能支持 预编译吗?
The text was updated successfully, but these errors were encountered:
想谷歌的 Closure 库里面的模板一样 可以编译为js函数 这样 1 可以跨域获取 2 可以加速展示 降低 cpu 和内存
Sorry, something went wrong.
上哪去保存编辑结果函数?????官方的demo和api写的太简单了!
支持,不传入data,第二个参数,返回一个给你编译后的function,用法如下:
var render = $.parseTpl('<p><%=name%></p>'); console.log( render({name: 'Abc'}) ); // => <p>Abc</p> console.log( render({name: 'Efg'}) ); // => <p>Efg</p>
No branches or pull requests
GMU 模板引擎 能支持 预编译吗?
The text was updated successfully, but these errors were encountered: