Clarify docs on the client option

This commit is contained in:
RyanZim
2016-04-09 15:48:22 -04:00
parent af90a257fc
commit 5cc5efdf24
2 changed files with 6 additions and 3 deletions

View File

@@ -24,8 +24,10 @@
* line).
*
* @property {Boolean} [client=false]
* Whether or not to compile functions that are to be included in the browser.
*
* Whether or not to compile a {@link ClientFunction} that can be rendered
* in the browser without depending on ejs.js. Otherwise, a {@link TemplateFunction}
* will be compiled.
*
* @property {EscapeCallback} [escape={@link module:utils.escapeXML}]
* The escaping function used with `<%=` construct. It is used in rendering
* and is `.toString()`ed in the generation of client functions.