From 9867fcbb65932ce191afbb59da9761afd0321e11 Mon Sep 17 00:00:00 2001 From: Marc Englund Date: Mon, 15 Oct 2012 14:21:51 +0300 Subject: [PATCH] Fix for #9471 Original by Seba, removed erronous empty lines from test-css. Replaces c/103 (Id7a64ccd76c33bbfd2fa3c81df6092f068fa983a) Change-Id: If99bd4937a70aaa77a5250076d27c2534b940152 --- theme-compiler/src/com/vaadin/sass/visitor/EachVisitor.java | 2 +- 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 -- 2.39.5