Fixes #96. Fix support for Alphasort option for LESS/SCSS properties
This commit is contained in:
parent
403143e1aa
commit
ccc8802f36
|
@ -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"
|
mode: "beautify"
|
||||||
inchar: options.indent_character
|
inchar: options.indent_character
|
||||||
insize: options.indent_size
|
insize: options.indent_size
|
||||||
|
alphasort: options.alphasort || false
|
||||||
|
|
||||||
output = prettydiff.api(args)
|
output = prettydiff.api(args)
|
||||||
result = output[0]
|
result = output[0]
|
||||||
|
|
Loading…
Reference in New Issue