flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/2] git commit: [flex-falcon] [refs/heads/develop] - don't rename id selectors
Date Sat, 05 Sep 2015 05:39:48 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 8884d0bcf -> c0742e3ae


don't rename id selectors


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/4a2f7b92
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/4a2f7b92
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/4a2f7b92

Branch: refs/heads/develop
Commit: 4a2f7b92510f0a8b9c64008b1ffd1875cb82966a
Parents: 8884d0b
Author: Alex Harui <aharui@apache.org>
Authored: Fri Sep 4 22:39:35 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Sep 4 22:39:35 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/4a2f7b92/compiler.jx/src/org/apache/flex/compiler/internal/driver/js/flexjs/JSCSSCompilationSession.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/driver/js/flexjs/JSCSSCompilationSession.java
b/compiler.jx/src/org/apache/flex/compiler/internal/driver/js/flexjs/JSCSSCompilationSession.java
index c7286ab..6add07b 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/driver/js/flexjs/JSCSSCompilationSession.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/driver/js/flexjs/JSCSSCompilationSession.java
@@ -119,7 +119,7 @@ public class JSCSSCompilationSession extends CSSCompilationSession
 	        // add "." to type selectors that don't map cleanly
 	        // to CSS type selectors to convert them to class
 	    	// selectors.
-	        if (!s.startsWith(".") && !s.startsWith("*"))
+	        if (!s.startsWith(".") && !s.startsWith("*") && !s.startsWith("#"))
 	        {
 	        	String condition = null;
         		int colon = s.indexOf(":");


Mime
View raw message