diff --git a/doT/index.html b/doT/index.html index d993ca3..b185904 100644 --- a/doT/index.html +++ b/doT/index.html @@ -10,7 +10,7 @@ doT.js - the fastest and concise javascript template engine for Node.js and browsers -Fork me on GitHub +Fork me on GitHub doT.js @@ -91,18 +91,20 @@

Compile time evaluation vs Runtime evaluation

It is also used to statically compile partials. This comes in handy when you want to include similar header and footer on multiple pages. doT also allows to customize partial right from the template that will include it.

Check advanced sample and one more sample for hints on how to use defines and partials.

Benchmarks

-

+ + + +Benchmarks are available in github

To run the benchmarks for measuring execution of compiled templates:
-In the browser: navigate to benchmarks/index.html or go here +In the browser: navigate to benchmarks/index.html or go here
With node: node benchmarks/templatesBench.js

@@ -245,20 +247,23 @@

Example for express


I added an example of the best way to do it: doT with express

Issues

-github.com/olado/doT/issues +github.com/olado/doT/issues

History

First released on January 10, 2011
Latest version: 1.0.3 December 2, 2014

Author

-@olado +github: @olado +twitter: @olado + +
doT.js by Laura Doktorova, MIT license
- + diff --git a/doT/tutorial.html b/doT/tutorial.html index d877b49..bfc51b7 100644 --- a/doT/tutorial.html +++ b/doT/tutorial.html @@ -19,8 +19,9 @@

The fastest + concise javascript template engine
for node.js and browsers

https://github.com/olado/doT

by Laura Doktorova, MIT Licence

- @olado - http://bebedo.com + @olado + +
@@ -54,7 +55,7 @@

A lot of JavaScript templates now

  • etc.
  • - Visit template chooser by Garann to help you choose + Visit template chooser by Garann to help you choose
    @@ -108,7 +109,8 @@

    Templates: performance benchmarking

  • updating the DOM (if on client)
  • size and complexity of the template
  • - JSPerf benchmarks + + JSPerf benchmarks
    @@ -312,7 +314,7 @@

    Fork doT.js on github

    - +