root can be arrays.

This commit is contained in:
Marcelo Shima
2022-11-18 10:34:54 -03:00
committed by GitHub
parent 5919964ec3
commit f1d6c51a6c

View File

@@ -44,9 +44,9 @@
* The filename of the template. Required for inclusion and caching unless
* you are using {@link module:ejs.renderFile}. Also used for error reporting.
*
* @property {String} [root=undefined]
* The path to the project root. When this is set, absolute paths for includes
* (/filename.ejs) will be relative to the project root.
* @property {String|String[]} [root=undefined]
* The path to the template root(s). When this is set, absolute paths for includes
* (/filename.ejs) will be relative to the template root(s).
*
* @property {String} [openDelimiter='<']
* The opening delimiter for all statements. This allows you to clearly delinate