artTemplate:性能卓越的 js 模板引擎[转]-源码

上传者: 42099530 | 上传时间: 2021-07-24 20:07:31 | 文件大小: 313KB | 文件类型: ZIP
artTemplate-3.0 新一代 javascript 模板引擎 目录 特性 性能卓越,执行速度通常是 Mustache 与 tmpl 的 20 多倍() 支持运行时调试,可精确定位异常模板所在语句() 对 NodeJS Express 友好支持 安全,默认对输出进行转义、在沙箱中运行编译后的代码(Node版本可以安全执行用户上传的模板) 支持include语句 可在浏览器端实现按路径加载模板() 支持预编译,可将模板转换成为非常精简的 js 文件 模板语句简洁,无需前缀引用数据,有简洁版本与原生语法版本可选 支持所有流行的浏览器 快速上手 编写模板 使用一个type="text/html"的script标签存放模板: [removed] {{title}} {{each list as valu

文件下载

资源详情

[{"title":"( 75 个子文件 313KB ) artTemplate:性能卓越的 js 模板引擎[转]-源码","children":[{"title":"artTemplate-master","children":[{"title":"Gruntfile.js <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"syntax.js <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"outro.js <span style='color:#111;'> 250B </span>","children":null,"spread":false},{"title":"compile.js <span style='color:#111;'> 8.39KB </span>","children":null,"spread":false},{"title":"onerror.js <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"renderFile.js <span style='color:#111;'> 444B </span>","children":null,"spread":false},{"title":"config.js <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"helper.js <span style='color:#111;'> 255B </span>","children":null,"spread":false},{"title":"template.js <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"get.js <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"cache.js <span style='color:#111;'> 40B </span>","children":null,"spread":false},{"title":"intro.js <span style='color:#111;'> 148B </span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"render.js <span style='color:#111;'> 249B </span>","children":null,"spread":false}],"spread":false},{"title":"node","children":[{"title":"_node.js <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"template-native.js <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"template.js <span style='color:#111;'> 238B </span>","children":null,"spread":false}],"spread":true},{"title":".npmignore <span style='color:#111;'> 13B </span>","children":null,"spread":false},{"title":"demo","children":[{"title":"no-escape.html <span style='color:#111;'> 549B </span>","children":null,"spread":false},{"title":"include.html <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"compile.html <span style='color:#111;'> 547B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"node-template-express.js <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"debug-syntax.html <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"template-native","children":[{"title":"no-escape.html <span style='color:#111;'> 561B </span>","children":null,"spread":false},{"title":"include.html <span style='color:#111;'> 681B </span>","children":null,"spread":false},{"title":"compile.html <span style='color:#111;'> 585B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 737B </span>","children":null,"spread":false},{"title":"tag.html <span style='color:#111;'> 773B </span>","children":null,"spread":false},{"title":"debug-syntax.html <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"helper.html <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"print.html <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"debug.html <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"basic.html <span style='color:#111;'> 657B </span>","children":null,"spread":false}],"spread":true},{"title":"helper.html <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"node-template.js <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"print.html <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"debug.html <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"basic.html <span style='color:#111;'> 612B </span>","children":null,"spread":false},{"title":"node-template","children":[{"title":"index.html <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"public","children":[{"title":"logo.html <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"header.html <span style='color:#111;'> 330B </span>","children":null,"spread":false},{"title":"footer.html <span style='color:#111;'> 101B </span>","children":null,"spread":false}],"spread":false},{"title":"copyright.html <span style='color:#111;'> 8B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"doc","children":[{"title":"syntax-native.md <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"syntax-simple.md <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"tpl","children":[{"title":"index.html <span style='color:#111;'> 146B </span>","children":null,"spread":false}],"spread":true},{"title":"test-helper.html <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"test-xss.html <span style='color:#111;'> 898B </span>","children":null,"spread":false},{"title":"js","children":[{"title":"etpl.js <span style='color:#111;'> 48.21KB </span>","children":null,"spread":false},{"title":"tmpl.js <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"qunit","children":[{"title":"qunit.js <span style='color:#111;'> 56.37KB </span>","children":null,"spread":false},{"title":"qunit.css <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false}],"spread":true},{"title":"baiduTemplate.js <span style='color:#111;'> 8.96KB </span>","children":null,"spread":false},{"title":"handlebars.js <span style='color:#111;'> 48.53KB </span>","children":null,"spread":false},{"title":"mustache.js <span style='color:#111;'> 14.17KB </span>","children":null,"spread":false},{"title":"template.js <span style='color:#111;'> 7.90KB </span>","children":null,"spread":false},{"title":"easytemplate.js <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"underscore.js <span style='color:#111;'> 40.46KB </span>","children":null,"spread":false},{"title":"doT.js <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"jquery-1.7.2.min.js <span style='color:#111;'> 92.62KB </span>","children":null,"spread":false},{"title":"highcharts.js <span style='color:#111;'> 97.54KB </span>","children":null,"spread":false},{"title":"juicer.js <span style='color:#111;'> 11.13KB </span>","children":null,"spread":false},{"title":"jquery.tmpl.js <span style='color:#111;'> 5.98KB </span>","children":null,"spread":false},{"title":"kissy.js <span style='color:#111;'> 432.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"test-speed.html <span style='color:#111;'> 10.75KB </span>","children":null,"spread":false},{"title":"test-node.js <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"test-native.html <span style='color:#111;'> 5.42KB </span>","children":null,"spread":false},{"title":"test.html <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 9.37KB </span>","children":null,"spread":false},{"title":"dist","children":[{"title":"template-native.js <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"template-debug.js <span style='color:#111;'> 16.10KB </span>","children":null,"spread":false},{"title":"template.js <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false},{"title":"template-native-debug.js <span style='color:#111;'> 13.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 575B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明