diff --git a/lib/less/index.js b/lib/less/index.js index 6eea8c72..ebcfd0db 100644 --- a/lib/less/index.js +++ b/lib/less/index.js @@ -21,7 +21,7 @@ var less = { if (callback) { parser.parse(input, function (e, root) { - callback(e, root.toCSS()); + callback(e, root.toCSS(options)); }); } else { ee = new(require('events').EventEmitter); @@ -29,7 +29,7 @@ var less = { process.nextTick(function () { parser.parse(input, function (e, root) { if (e) { ee.emit('error', e) } - else { ee.emit('success', root.toCSS()) } + else { ee.emit('success', root.toCSS(options)) } }); }); return ee;