diff options
author | Marc Englund <marc@vaadin.com> | 2012-10-15 14:21:51 +0300 |
---|---|---|
committer | Marc Englund <marc@vaadin.com> | 2012-10-15 16:02:20 +0300 |
commit | 9867fcbb65932ce191afbb59da9761afd0321e11 (patch) | |
tree | 1c7bc2e4b33e507e5c2d3174328101ab50ff77b1 | |
parent | 98dd17be57dd4280912a9ede86afaa9fa8ea4c72 (diff) | |
download | vaadin-framework-9867fcbb65932ce191afbb59da9761afd0321e11.tar.gz vaadin-framework-9867fcbb65932ce191afbb59da9761afd0321e11.zip |
Fix for #9471 Original by Seba, removed erronous empty lines from test-css.
Replaces c/103 (Id7a64ccd76c33bbfd2fa3c81df6092f068fa983a)
Change-Id: If99bd4937a70aaa77a5250076d27c2534b940152
-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 |