fix is/as
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7299b3ee Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7299b3ee Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7299b3ee Branch: refs/heads/core_js_to_as Commit: 7299b3eea81d79dacdcda2ddd0b2df52120752be Parents: c517931 Author: Alex Harui <[email protected]> Authored: Wed Nov 25 14:13:46 2015 -0800 Committer: Alex Harui <[email protected]> Committed: Wed Nov 25 14:13:46 2015 -0800 ---------------------------------------------------------------------- .../projects/Core/as/src/org/apache/flex/utils/Language.as | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7299b3ee/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 342d696..7ea4713 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 @@ -106,10 +106,10 @@ package org.apache.flex.utils { var checkInterfaces:Function, superClass:Object; - if (!leftOperand) + if (leftOperand == null) return false; - if (leftOperand && !rightOperand) + if (leftOperand != null && rightOperand == null) { return false; } @@ -294,7 +294,7 @@ package org.apache.flex.utils msg += rest[i]; } - theConsole = ["goog"]["global"]["console"]; + theConsole = window["goog"]["global"]["console"]; if (theConsole === undefined && windowConsole !== undefined) theConsole = windowConsole;
