You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cz...@apache.org on 2013/04/16 17:52:23 UTC

[3/3] git commit: [flex-falcon] - [FalconJx] no goog.require for class Date

[FalconJx] no goog.require for class Date


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

Branch: refs/heads/develop
Commit: 0e923fbf3a9f0b412c9cded0e6b2ce771f398dd9
Parents: 48bc21a
Author: cyrill.zadra <cy...@gmail.com>
Authored: Tue Apr 16 11:51:16 2013 +0800
Committer: cyrill.zadra <cy...@gmail.com>
Committed: Tue Apr 16 23:42:45 2013 +0800

----------------------------------------------------------------------
 .../codegen/js/flexjs/JSFlexJSEmitter.java         |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0e923fbf/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index 0065ee6..fd2d328 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@ -752,6 +752,8 @@ public class JSFlexJSEmitter extends JSGoogEmitter implements IJSFlexJSEmitter
                     continue;
                 if (imp.equals("uint"))
                     continue;
+                if (imp.equals("Date"))
+                    continue;
 
                 if (writtenInstances.indexOf(imp) == -1)
                 {