diff options
-rw-r--r-- | theme-compiler/src/com/vaadin/sass/visitor/EachVisitor.java | 2 | ||||
-rw-r--r-- | theme-compiler/tests/resources/scss/functions.scss | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/visitor/EachVisitor.java b/theme-compiler/src/com/vaadin/sass/visitor/EachVisitor.java index be5e14a543..de58947982 100644 --- a/theme-compiler/src/com/vaadin/sass/visitor/EachVisitor.java +++ b/theme-compiler/src/com/vaadin/sass/visitor/EachVisitor.java @@ -66,7 +66,7 @@ public class EachVisitor implements Visitor { last = child; } - rootNode.removeChild(defNode); + parent.removeChild(defNode); } } diff --git a/theme-compiler/tests/resources/scss/functions.scss b/theme-compiler/tests/resources/scss/functions.scss index b9860311ea..93c1a6a64a 100644 --- a/theme-compiler/tests/resources/scss/functions.scss +++ b/theme-compiler/tests/resources/scss/functions.scss @@ -15,6 +15,4 @@ $app-bg-color : lighten($base-color, 6%); color: lighten(#800, 20%); color : $base-color; color : $app-bg-color; -} - - +}
\ No newline at end of file |