Revise minor errors in README.md.
This commit is contained in:
parent
6e8894502b
commit
60f15b9216
|
@ -17,7 +17,7 @@ Something like this:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var gulp = require('gulp');
|
var gulp = require('gulp');
|
||||||
var sass = require('gulp-sass')
|
var sass = require('gulp-sass');
|
||||||
|
|
||||||
gulp.task('sass', function () {
|
gulp.task('sass', function () {
|
||||||
gulp.src('./scss/*.scss')
|
gulp.src('./scss/*.scss')
|
||||||
|
@ -36,7 +36,7 @@ If you pass `errLogToConsole: true` into the options hash, sass errors will be l
|
||||||
|
|
||||||
#### `onSuccess: callback`
|
#### `onSuccess: callback`
|
||||||
|
|
||||||
Pass in your own callback to be called upon successful compilaton by node-sass. The callback has the form `callback(css)`, and is passed the compiled css as a string. Note: This *does not* prevent gulp-sass's default behavior of writing the output css file.
|
Pass in your own callback to be called upon successful compilation by node-sass. The callback has the form `callback(css)`, and is passed the compiled css as a string. Note: This *does not* prevent gulp-sass's default behavior of writing the output css file.
|
||||||
|
|
||||||
#### `onError: callback`
|
#### `onError: callback`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue