You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/09/05 09:19:12 UTC

[royale-compiler] branch develop updated: typo

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new f22f53b  typo
f22f53b is described below

commit f22f53b74d67fb7fa82f1e3765042de13dc65450
Author: Harbs <ha...@in-tools.com>
AuthorDate: Wed Sep 5 12:19:02 2018 +0300

    typo
---
 .../compiler/internal/driver/js/royale/JSCSSCompilationSession.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java
index 3a42aba..4dca7e5 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java
@@ -94,7 +94,7 @@ public class JSCSSCompilationSession extends CSSCompilationSession
     public static String minifyCSSString(String cssString)
     {
         //Remove empty selectors
-        cssString = cssString.replaceAll("\\S+\\s?{[\\s\\n]+}", "");
+        cssString = cssString.replaceAll("\\S+\\s?\\{[\\s\\n]+}", "");
         // Remove comments
         cssString = cssString.replaceAll("/\\*[\\d\\D]*?\\*/", "");
         cssString = cssString.replace(";}", "}");