为DOM设计的模板引擎:Paperclip

jopen 9年前

Paperclip是一个为DOM设计的模板引擎。它的工作原理是将模板编译成文档片段,然后在需要时将克隆他们。

Features

  • mustache-like syntax
  • extensible
  • super fast
  • inline javascript
  • compiled templates
  • explicit data-binding (one-way, two-way, unbound operators)
  • works with older browsers (IE 8+ tested)
  • accepts vanilla javascript objects
  • works with NodeJS
  • unit testable in node, and in the browser
  • works well with coverage tools such as istanbul
  • 50kb minified & gzipped
  • no browser dependencies

项目主页:http://www.open-open.com/lib/view/home/1417074817190