You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/02/22 01:31:23 UTC

[royale-compiler] branch develop updated: don't rename global selector to * selector

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

aharui 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 9ec3fb8  don't rename global selector to * selector
9ec3fb8 is described below

commit 9ec3fb8c530fdd445ac6fde34e7aa377e1782773
Author: Alex Harui <ah...@apache.org>
AuthorDate: Wed Feb 21 17:31:03 2018 -0800

    don't rename global selector to * selector
---
 .../compiler/internal/driver/js/royale/JSCSSCompilationSession.java     | 2 --
 1 file changed, 2 deletions(-)

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 736efe0..1cc0791 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
@@ -181,8 +181,6 @@ public class JSCSSCompilationSession extends CSSCompilationSession
         	String s = cssRuleToString(rule);
         	if (s.startsWith("@media -royale-swf"))
         		continue;
-        	if (s.startsWith(".global {"))
-        		s = s.replace(".global {", "* {");
             sb.append(s);
             sb.append("\n\n");
         }

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.