You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/12/17 08:54:52 UTC
[42/55] [abbrv] git commit: [flex-asjs] [refs/heads/develop] - fix
trace
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/develop
Commit: c3c2403fe30a100540cfe3449cbdfd9e8ec6e85e
Parents: 4053551
Author: Alex Harui <ah...@apache.org>
Authored: Tue Dec 15 15:16:13 2015 -0800
Committer: Alex Harui <ah...@apache.org>
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;