fix trace

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

Branch: refs/heads/core_js_to_as
Commit: c3c2403fe30a100540cfe3449cbdfd9e8ec6e85e
Parents: 4053551
Author: Alex Harui <[email protected]>
Authored: Tue Dec 15 15:16:13 2015 -0800
Committer: Alex Harui <[email protected]>
Committed: Tue Dec 15 15:16:13 2015 -0800

----------------------------------------------------------------------
 .../projects/Core/as/src/org/apache/flex/utils/Language.as       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c3c2403f/frameworks/projects/Core/as/src/org/apache/flex/utils/Language.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/utils/Language.as 
b/frameworks/projects/Core/as/src/org/apache/flex/utils/Language.as
index 7ea4713..ea51ab5 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/utils/Language.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/utils/Language.as
@@ -26,10 +26,12 @@ package org.apache.flex.utils
     COMPILE::JS
     {
         import goog.bind;
+        import goog.global;
     }
     
     /**
      * @flexjsignoreimport goog.bind
+     * @flexjsignoreimport goog.global
      */
     COMPILE::JS
        public class Language
@@ -294,7 +296,7 @@ package org.apache.flex.utils
                                msg += rest[i];
                        }
 
-                       theConsole = window["goog"]["global"]["console"];
+                       theConsole = goog.global.console;
 
                        if (theConsole === undefined && windowConsole !== 
undefined)
                                theConsole = windowConsole;

Reply via email to