royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-compiler] branch develop updated: don't rename global selector to * selector
Date Thu, 22 Feb 2018 01:31:23 GMT
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 <aharui@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.

Mime
View raw message