node-sass
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -5,3 +5,3 @@ { | ||
"description": "wrapper around libsass", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"homepage": "https://github.com/sass/node-sass", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
@@ -158,2 +158,3 @@ # node-sass | ||
## Integrations | ||
@@ -163,2 +164,6 @@ | ||
### Brackets extension | ||
[@jasonsanjose](https://github.com/jasonsanjose) has created a [Brackets](http://brackets.io) extension based on node-sass: <https://github.com/jasonsanjose/brackets-sass>. When editing Sass files, the extension compiles changes on save. The extension also integrates with Live Preview to show Sass changes in the browser without saving or compiling. | ||
### Brunch plugin | ||
@@ -165,0 +170,0 @@ |
@@ -152,3 +152,3 @@ var path = require('path'); | ||
output = options.file? binding.renderFileSync(options) : binding.renderSync(options); | ||
finishStats(options.stats); | ||
finishStats(options.stats, options.stats.sourceMap); | ||
@@ -155,0 +155,0 @@ return output; |
@@ -314,1 +314,15 @@ var sass = process.env.NODESASS_COVERAGE ? require('../sass-coverage') : require('../sass'); | ||
}); | ||
describe('compile with stats', function() { | ||
it('should report correct sourceMap in stats with renderSync', function(done) { | ||
var stats = {}; | ||
sass.renderSync({ | ||
file: sampleFilename, | ||
stats: stats, | ||
sourceComments: 'map', | ||
sourceMap: true | ||
}); | ||
done(assert.ok(stats.sourceMap.indexOf('sample.scss') !== -1)); | ||
}); | ||
}); |
21553345
22346
280