Skip to content

Commit

Permalink
Make it actually work :)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstcki committed Jan 14, 2015
1 parent 16b057e commit 752e672
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ module.exports = function (content) {

// output compressed by default
opt.outputStyle = opt.outputStyle || 'compressed';
opt.stats = {};

var loadPaths = opt.includePaths;
var markDependencies = function () {
Expand All @@ -39,14 +38,13 @@ module.exports = function (content) {
}
}.bind(this);

opt.success = function (css) {
opt.success = function (result) {
markDependencies();
callback(null, css);
callback(null, result.css, result.map);
}.bind(this);

opt.error = function (err) {
markDependencies();
this.emitError(err);
callback(err);
}.bind(this);

Expand Down

0 comments on commit 752e672

Please sign in to comment.