mirror of
https://github.com/CryptKeeperZK/ejs.git
synced 2026-01-09 07:27:56 -05:00
feat: Allow disabling legacy include preprocessor directives
This commit is contained in:
@@ -71,6 +71,14 @@
|
||||
* Whether or not to create an async function instead of a regular function.
|
||||
* This requires language support.
|
||||
*
|
||||
* @property {boolean} [legacyInclude=true]
|
||||
* Whether to enable legacy preprocessor include directives.
|
||||
*
|
||||
* **Example:**
|
||||
* ```ejs
|
||||
* <%- include foo %>
|
||||
* ```
|
||||
*
|
||||
* @static
|
||||
* @global
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user