Skip to content

Commit

Permalink
Closes #159, #149. Update prettydiff to fix LESS and SCSS.
Browse files Browse the repository at this point in the history
- SCSS Interpolated text variables
- LESS &:extend
  • Loading branch information
Glavin001 committed Jan 1, 2015
1 parent 259bb70 commit 3550280
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/simple-jsbeautifyrc/less/expected/test3.less
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Breaks (fixed now)
.mixin(@variable, @anotherVariable) {


}
// Works
.mixin(@variable; @anotherVariable) {


}
// Ok
.mixin(@variable) {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@mixin text-emphasis-variant($parent, $color) {
#{$parent;} {
color: $color;
}
a#{$parent;}:hover {
color: darken($color, 10%);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@mixin text-emphasis-variant($parent, $color) {
#{$parent} {
color: $color;
}
a#{$parent}:hover {
color: darken($color, 10%);
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3550280

Please sign in to comment.