Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add syntax highlighting for Migration from section
  • Loading branch information
my-cereal committed Jan 14, 2016
1 parent 3e77dfb commit 2d6ea96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ or
TypeError: useref.assets is not a function

For a simple configuration, you can replace this V2 code:

```js
var gulp = require('gulp'),
useref = require('gulp-useref');

Expand All @@ -249,9 +249,9 @@ For a simple configuration, you can replace this V2 code:
.pipe(useref())
.pipe(gulp.dest('dist'));
});

```
with this V3 code:

```js
var gulp = require('gulp'),
useref = require('gulp-useref');

Expand All @@ -260,7 +260,7 @@ with this V3 code:
.pipe(useref())
.pipe(gulp.dest('dist'));
});

```
If you were previously using useref in a multi-stage pipe,
you may need to rewrite the pipe, since the simplified V3 API
may not allow for its previous usage.
Expand Down

0 comments on commit 2d6ea96

Please sign in to comment.