Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions doT/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@ <h3>doT.template - template compilation function</h3>
</li></ul>
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 </p>

<h3>doT.log - option to enable/disable logging</h3>
<p>This option is by default true, you can disable logging as below:</p>
<code><pre>
var dots = require('dot');
dots.log = false;
</pre></code>

<h3>Node module supports auto-compilation of dot templates</h3>

<p>You can precompile all your templates into modules compatible with commonJS, browsers and AMD.</p>
Expand Down