首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > jQuery的简单模板解析器

jQuery的简单模板解析器

  • 资源大小:2.29 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: jquery 模板 简单 解析

资 源 简 介

.stmpl(): simple template parser in jQuery . jQuery itself has .tmpl(), which is deprecated, and jquery-ui is working on templating, which is in alpha. In the meanwhile this does something similar in just a few lines of code :, Example code: ```

{{title}}
{{##creators,type,guidate##}}

{{##participants##}} {{

##
||short,description##

}} {{keywords: ##keywords##}}
``` The parser does the following replacements: {{key}} => value {{##key##}} =>
VIP VIP
0.174811s