Fixes #96. Fix support for Alphasort option for LESS/SCSS properties
This commit is contained in:
parent
403143e1aa
commit
ccc8802f36
|
@ -8,5 +8,5 @@
|
|||
"max_preserve_newlines": 2,
|
||||
"jslint_happy": true,
|
||||
"indent_handlebars": true,
|
||||
"object": {}
|
||||
"object": {}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
.example(){
|
||||
.base-apple(); // Sets base apple color to red
|
||||
.apple-color(@color-green); // Sets apple color to green
|
||||
}
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue