summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-10-15 14:21:51 +0300
committerMarc Englund <marc@vaadin.com>2012-10-15 16:02:20 +0300
commit9867fcbb65932ce191afbb59da9761afd0321e11 (patch)
tree1c7bc2e4b33e507e5c2d3174328101ab50ff77b1
parent98dd17be57dd4280912a9ede86afaa9fa8ea4c72 (diff)
downloadvaadin-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.java2
-rw-r--r--theme-compiler/tests/resources/scss/functions.scss4
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