Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ donT Public
forked from olado/doT

Modified from doT template Engine, now supported evaluating js in free styles, with comments

Notifications You must be signed in to change notification settings

akq/donT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

donT

Forked from doT.js which inherits the fastest and concise JavaScript templating function with emphasis on performance under V8 and nodejs. This fork updated to reserve \n in original styles. Removing the partial supports which is very confused to use, instead, partial template will be used outside the template engine itself.

Features

custom delimiters
runtime evaluation
runtime interpolation
compile-time evaluation
conditionals support
array iterators
encoding
streaming friendly
use it as logic-less or with logic, it is up to you

partials support

control whitespace - strip or preserve (it will also remove line break, which leads to js crash)

Docs, live playground and samples

http://olado.github.com/doT (todo: update docs with new features added in version 1.0.0)

License

MIT

About

Modified from doT template Engine, now supported evaluating js in free styles, with comments

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%