Commit 1cf64a31 by Sam Saccone

a simplification of the default options setting

parent 60f66275
......@@ -22,9 +22,7 @@ SASS_OUTPUT_STYLE = {
};
exports.render = function(css, callback, options) {
var paths, style;
if (toString.call(options) !== '[object Object]') {
options = {};
}
typeof options != "object" && (options = {});
paths = options.include_paths || [];
if (!((style = options.output_style) in SASS_OUTPUT_STYLE)) {
style = 'nested';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment