From 8e84de3e4de0e47b048d045e4b1649ecf75b5fcd Mon Sep 17 00:00:00 2001 From: "Richard D. Worth" Date: Sat, 3 Mar 2012 06:08:56 -0500 Subject: [PATCH] index: "This comes handy" to "This comes in handy" --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 83193ec..07e97c1 100644 --- a/index.html +++ b/index.html @@ -178,7 +178,7 @@

doT.template - template compilation function

Compile time evaluation vs Runtime evaluation

You can improve performance if you use compile time evaluation. It is useful in cases when the data that you want to use are not changing with each run of the template. Think of it as defines or constant variables. -

It is also used to statically compile partials. This comes 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 for hints on how to use defines and partials. +

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 for hints on how to use defines and partials.

Issues

github.com/olado/doT/issues