Skip to content

Commit

Permalink
Merge pull request #1 from ksky521/patch-1
Browse files Browse the repository at this point in the history
貌似错了
  • Loading branch information
张云龙 committed Oct 31, 2013
2 parents ae1b8ec + bb35cec commit 26ff91a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
var sass = require('node-sass');

module.exports = function(content, file, conf){
return sass.renderSync({
var opts = {
data: content
[ conf ]
});
};
};
for(var i in conf){
opts[i] = conf[i];
}
console.log(opts);
return sass.renderSync(opts);
};

0 comments on commit 26ff91a

Please sign in to comment.