You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/01/10 08:38:45 UTC

git commit: [flex-falcon] [refs/heads/develop] - remove prefixes for actual css file

Repository: flex-falcon
Updated Branches:
  refs/heads/develop 5f59503a7 -> f38cc7723


remove prefixes for actual css file


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

Branch: refs/heads/develop
Commit: f38cc7723efdec100ac41791da2e1abd3c925ff1
Parents: 5f59503
Author: Alex Harui <ah...@apache.org>
Authored: Fri Jan 9 23:37:44 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Jan 9 23:37:44 2015 -0800

----------------------------------------------------------------------
 .../internal/driver/js/flexjs/JSCSSCompilationSession.java      | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/f38cc772/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 d4a67af..76fda8c 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
@@ -104,7 +104,12 @@ public class JSCSSCompilationSession extends CSSCompilationSession
 	        		s = s.substring(0, colon);
 	        	}
 	        	if (!htmlElementNames.contains(s.toLowerCase()))
+	        	{
+	        		int pipe = s.indexOf("|");
+	        		if (pipe != -1)
+	        			s = s.substring(pipe);
 	        		s = "." + s;
+	        	}
 	        	if (condition != null)
 	        		s = s + condition;
 	        }