File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ Table of contents
21
21
- ` _%> ` : Removes all trailing whitespace
22
22
- Literal tags
23
23
- Including other files
24
- - “Preprocessor” directive
25
24
- JavaScript ` include() ` function
26
25
- Copyright
27
26
@@ -439,18 +438,6 @@ template.
439
438
The behavior of resolving included file path can be overridden using the
440
439
` ejs.resolveInclude ` function.
441
440
442
- ### “Preprocessor” directive
443
-
444
- As a compatibility layer with EJS version 1, it is possible to use the
445
- ` include ` directive in an unescaped output tag to directly “yank” the
446
- text from another file, just like including a C header. However, as it is done
447
- as a simple inclusion, you cannot pass arguments to the included template. You
448
- can however make variables available in the parent template, that will be
449
- visible to the child template as well.
450
-
451
- This flavor of ` include ` is ** static** , which means that the resulting
452
- function contains the copy of the included file as when it was compiled, so
453
- if you changed the file after compilation, the changes are not reflected.
454
441
455
442
#### Whitespace control
456
443
You can’t perform that action at this time.
0 commit comments