Fixes #96. Fix support for Alphasort option for LESS/SCSS properties

This commit is contained in:
Glavin Wiechert 2014-09-28 17:28:51 -03:00
parent 403143e1aa
commit ccc8802f36
3 changed files with 6 additions and 1 deletions

View File

@ -8,5 +8,5 @@
"max_preserve_newlines": 2,
"jslint_happy": true,
"indent_handlebars": true,
"object": {}
"object": {}
}

View File

@ -0,0 +1,4 @@
.example(){
.base-apple(); // Sets base apple color to red
.apple-color(@color-green); // Sets apple color to green
}

View File

@ -7,6 +7,7 @@ module.exports = (text, options, callback) ->
mode: "beautify"
inchar: options.indent_character
insize: options.indent_size
alphasort: options.alphasort || false
output = prettydiff.api(args)
result = output[0]