Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
NoczCore committed Jul 11, 2016
1 parent 5d96041 commit b86be8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Then, add it to your gulpfile.js:
var gap = require('gulp-append-prepend');
gulp.task('myawesometask', function(){
gulp.src('index.html')
.pipe(gap.appendFile('header.html'))
.pipe(gap.appendText('<!-- HEADER -->'))
.pipe(gap.prependText('<!-- FOOTER -->'))
.pipe(gap.prependFile('footer.html'))
gulp.src('index.html')
.pipe(gap.prependFile('header.html'))
.pipe(gap.prependText('<!-- HEADER -->'))
.pipe(gap.appendText('<!-- FOOTER -->'))
.pipe(gap.appendFile('footer.html'))
.pipe(gulp.dest('www/'));
});
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-append-prepend",
"version": "1.0.1",
"version": "1.0.2",
"description": "A simple gulp plugin to append and prepend files.",
"main": "index.js",
"keywords": [
Expand Down

0 comments on commit b86be8b

Please sign in to comment.