8000 Docs: Change jade references to pug (#2037) · gulpjs/gulp@81fc26d · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 81fc26d

Browse files
Matthew Bauerphated
Matthew Bauer
authored andcommitted
Docs: Change jade references to pug (#2037)
1 parent 2c6d551 commit 81fc26d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/API.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ that can be [piped](http://nodejs.org/api/stream.html#stream_readable_pipe_desti
1414
to plugins.
1515

1616
```javascript
17-
gulp.src('client/templates/*.jade')
18-
.pipe(jade())
17+
gulp.src('client/templates/*.pug')
18+
.pipe(pug())
1919
.pipe(minify())
2020
.pipe(gulp.dest('build/minified_templates'));
2121
```
@@ -77,8 +77,8 @@ gulp.src('client/js/**/*.js', { base: 'client' })
7777
Can be piped to and it will write files. Re-emits all data passed to it so you can pipe to multiple folders. Folders that don't exist will be created.
7878

7979
```javascript
80-
gulp.src('./client/templates/*.jade')
81-
.pipe(jade())
80+
gulp.src('./client/templates/*.pug')
81+
.pipe(pug())
8282
.pipe(gulp.dest('./build/templates'))
8383
.pipe(minify())
8484
.pipe(gulp.dest('./build/minified_templates'));

0 commit comments

Comments
 (0)
0