flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshtynj...@apache.org
Subject [1/4] git commit: [flex-falcon] [refs/heads/develop] - JSCJSEmitter: fixed issue where names of internal classes were not formatted properly in the same way as JSFlexJSEmitter
Date Sat, 09 Jan 2016 06:14:05 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 9d605f29b -> 0c69c38ad


JSCJSEmitter: fixed issue where names of internal classes were not formatted properly in the
same way as JSFlexJSEmitter


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

Branch: refs/heads/develop
Commit: 0fde35f8c6f6b68cc6d20074429aa5473158e5bb
Parents: 9d605f2
Author: Josh Tynjala <joshtynjala@apache.org>
Authored: Fri Jan 8 20:33:50 2016 -0800
Committer: Josh Tynjala <joshtynjala@apache.org>
Committed: Fri Jan 8 20:33:50 2016 -0800

----------------------------------------------------------------------
 .../apache/flex/compiler/internal/codegen/js/jsc/JSCJSEmitter.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0fde35f8/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jsc/JSCJSEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jsc/JSCJSEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jsc/JSCJSEmitter.java
index 8d2bdf8..1cef4e5 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jsc/JSCJSEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jsc/JSCJSEmitter.java
@@ -40,6 +40,8 @@ public class JSCJSEmitter extends JSFlexJSEmitter
     @Override
     public String formatQualifiedName(String name)
     {
+        if (getModel().isInternalClass(name))
+            return getModel().getInternalClasses().get(name);
         return name;
     }
 }


Mime
View raw message