flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [08/18] git commit: [flex-falcon] [refs/heads/develop] - need formatting of interface names
Date Wed, 08 Apr 2015 23:05:14 GMT
need formatting of interface names


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

Branch: refs/heads/develop
Commit: 57161bd83fd9eb1d7a12fff4dc04ffda04372805
Parents: 8e68d5d
Author: Alex Harui <aharui@apache.org>
Authored: Sat Mar 28 07:12:39 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Sat Mar 28 07:12:39 2015 -0700

----------------------------------------------------------------------
 .../flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/57161bd8/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
index 6b495b1..58cc59f 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
@@ -262,7 +262,7 @@ public class JSGoogEmitter extends JSEmitter implements IJSGoogEmitter
         String qname = node.getQualifiedName();
         if (qname != null && !qname.equals(""))
         {
-            write(qname);
+            write(formatQualifiedName(qname));
             write(ASEmitterTokens.SPACE);
             writeToken(ASEmitterTokens.EQUAL);
             write(ASEmitterTokens.FUNCTION);
@@ -285,7 +285,7 @@ public class JSGoogEmitter extends JSEmitter implements IJSGoogEmitter
             {
                 writeNewline();
 
-                write(qname);
+                write(formatQualifiedName(qname));
                 write(ASEmitterTokens.MEMBER_ACCESS);
                 write(JSEmitterTokens.PROTOTYPE);
                 write(ASEmitterTokens.MEMBER_ACCESS);


Mime
View raw message