![]() |
|
Works for both client-side (browser) and server-side (Node.js) environments.
doT uses templating functions from jQote2.js and underscore.js.
Here are some key features of "doT":
· Compile-time evaluation
· Partials support
· Encoding
· No dependencies
· Control whitespace (strip or preserve)
· Streaming friendly
· Custom delimiters
· Runtime evaluation
· Runtime interpolation
Requirements:
· JavaScript enabled on client side
· Node.js
What's New in This Release: [ read full changelog ]
· Node module now supports auto-compilation of dot templates from specified path.
· Added parameters support in partials.
· Compile tool to compile dot templates into JS.

Via: doT 1.0.0
0 Comment:
Post a Comment