0.0.1 • Published 9 years ago
js-tpl v0.0.1
js-tpl
Javascript Template Engine
APIs
tpl.compile(template)
Compiles the template string into a template function which only accepts one parameter, it
.
- template
String
the template string
Returns function(it)
var templateFn = tpl.compile(template);
var result = templateFn(object);
0.0.1
9 years ago