diff --git a/doT/index.html b/doT/index.html index d993ca3..e9c4e0c 100644 --- a/doT/index.html +++ b/doT/index.html @@ -186,6 +186,13 @@

doT.template - template compilation function

By default, the produced function expects one parameter - data - with the name 'it'. The names and number of parameters can be changed by changing doT.templateSettings.varname

+

doT.log - option to enable/disable logging

+

This option is by default true, you can disable logging as below:

+
+var dots = require('dot');
+dots.log = false;
+
+

Node module supports auto-compilation of dot templates

You can precompile all your templates into modules compatible with commonJS, browsers and AMD.