diff --git a/examples/simple-jsbeautifyrc/less/expected/test3.less b/examples/simple-jsbeautifyrc/less/expected/test3.less index 199df24..e502ca9 100644 --- a/examples/simple-jsbeautifyrc/less/expected/test3.less +++ b/examples/simple-jsbeautifyrc/less/expected/test3.less @@ -1,14 +1,14 @@ // Breaks (fixed now) .mixin(@variable, @anotherVariable) { - + } // Works .mixin(@variable; @anotherVariable) { - + } // Ok .mixin(@variable) { - + } \ No newline at end of file diff --git a/examples/simple-jsbeautifyrc/less/original/_test3.less b/examples/simple-jsbeautifyrc/less/original/test3.less similarity index 100% rename from examples/simple-jsbeautifyrc/less/original/_test3.less rename to examples/simple-jsbeautifyrc/less/original/test3.less diff --git a/examples/simple-jsbeautifyrc/less/original/_test5.less b/examples/simple-jsbeautifyrc/less/original/test5.less similarity index 100% rename from examples/simple-jsbeautifyrc/less/original/_test5.less rename to examples/simple-jsbeautifyrc/less/original/test5.less diff --git a/examples/simple-jsbeautifyrc/sass/expected/interpolated-text-vars.scss b/examples/simple-jsbeautifyrc/sass/expected/interpolated-text-vars.scss new file mode 100644 index 0000000..2de64a7 --- /dev/null +++ b/examples/simple-jsbeautifyrc/sass/expected/interpolated-text-vars.scss @@ -0,0 +1,8 @@ +@mixin text-emphasis-variant($parent, $color) { + #{$parent;} { + color: $color; + } + a#{$parent;}:hover { + color: darken($color, 10%); + } +} \ No newline at end of file diff --git a/examples/simple-jsbeautifyrc/sass/original/interpolated-text-vars.scss b/examples/simple-jsbeautifyrc/sass/original/interpolated-text-vars.scss new file mode 100644 index 0000000..bd5209d --- /dev/null +++ b/examples/simple-jsbeautifyrc/sass/original/interpolated-text-vars.scss @@ -0,0 +1,8 @@ +@mixin text-emphasis-variant($parent, $color) { + #{$parent} { + color: $color; + } + a#{$parent}:hover { + color: darken($color, 10%); + } +} diff --git a/package.json b/package.json index b1eabf8..cb79d02 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "lodash": "2.4.1", "loophole": "^1.0.0", "node-uuid": "^1.4.1", - "prettydiff": "^1.6.11", + "prettydiff": "^1.6.12", "space-pen": "^4.3.0", "strip-json-comments": "^0.1.3", "temp": "^0.8.0",