flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [38/44] git commit: [flex-falcon] [refs/heads/feature-autobuild/maven-archetypes] - LiteralEmitter: use formatQualifiedName() for JSX elements so that they aren't removed
Date Fri, 21 Oct 2016 15:17:16 GMT
LiteralEmitter: use formatQualifiedName() for JSX elements so that they aren't removed


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

Branch: refs/heads/feature-autobuild/maven-archetypes
Commit: 47cf23cd6a18bba3adb1b9b572917bfd71d17f2a
Parents: 58f3197
Author: Josh Tynjala <joshtynjala@gmail.com>
Authored: Sun Oct 16 17:12:10 2016 -0700
Committer: Josh Tynjala <joshtynjala@gmail.com>
Committed: Sun Oct 16 17:12:10 2016 -0700

----------------------------------------------------------------------
 .../flex/compiler/internal/codegen/js/jx/LiteralEmitter.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/47cf23cd/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
index 518c3a5..95acce1 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
@@ -423,7 +423,7 @@ public class LiteralEmitter extends JSSubEmitter implements
         String qualifiedTypeName = JSXUtil.getQualifiedTypeForElementName(elementName, node);
         if (qualifiedTypeName != null)
         {
-            return qualifiedTypeName;
+            return getEmitter().formatQualifiedName(qualifiedTypeName);
         }
         //it's a basic HTML tag
         return ASEmitterTokens.SINGLE_QUOTE.getToken() + elementName + ASEmitterTokens.SINGLE_QUOTE.getToken();


Mime
View raw message