You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4cb5129
Browse filesBrowse the repository at this point in the historyBrowse files
Add Pug debug instructions to generated JS templates.
105
105
106
106
#### client
107
-
Type: `Boolean`
107
+
Type: `Boolean`
108
108
Default: `false`
109
109
110
110
Compile to JS template functions for client-side use rather than directly to HTML.
111
111
112
112
Make sure to also include the Pug runtime (only `runtime.js`) as described in the [Pug documentation](https://github.com/visionmedia/pug#browser-support).
113
113
114
114
#### namespace
115
-
Type: `String`, `Boolean`
115
+
Type: `String`, `Boolean`
116
116
Default: `'JST'`
117
117
118
118
The namespace in which the precompiled templates will be assigned. Use dot notation (*e.g.*`App.Templates`) for nested namespaces or `false` for no namespace wrapping.
@@ -121,7 +121,7 @@ When set to `false` with **amd** option set to `true`, the templates will be ret
121
121
122
122
123
123
#### amd
124
-
Type: `Boolean`
124
+
Type: `Boolean`
125
125
Default: `false`
126
126
127
127
Wraps the output file with an AMD define function and returns the compiled template namespace unless namespace has been explicitly set to false in which case the template function will be returned directly.
@@ -237,7 +237,8 @@ pug: {
237
237
238
238
239
239
## Release History
240
-
* 2021-02-23 v3.0.0 Update to pug 3.0.0. Drop Node.js < 10 support.
240
+
241
+
* 2021-02-23 v3.0.0 Update to pug 3.0.0 Drop Node.js < 10 support.
241
242
* 2018-09-07 v2.0.0 Drop Node.js < 6 support. Update dependencies.
242
243
* 2016-03-04 v1.0.0 Point main to task and remove peerDeps. Update docs and tests.
243
244
* 2015-07-08 v0.15.0 Update to jade 1.11.0. Add test for Codeblocks
@@ -265,4 +266,4 @@ pug: {
265
266
266
267
Task submitted by [Eric Woroshow](http://ericw.ca/)
267
268
268
-
*This file was generated on Fri Sep 07 2018 03:45:41.*
269
+
*This file was generated on Wed Feb 24 2021 22:30:18.*
0 commit comments