You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2017/06/03 01:43:48 UTC

[5/7] git commit: [flex-asjs] [refs/heads/develop] - as returns null rather than undefined

as returns null rather than undefined


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

Branch: refs/heads/develop
Commit: 256dcd71c4fce9168c5c07e88d3e72a11239d2ce
Parents: 6fef880
Author: Justin Mclean <jm...@apache.org>
Authored: Sat Jun 3 10:41:36 2017 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Sat Jun 3 10:41:36 2017 +1000

----------------------------------------------------------------------
 .../Basic/src/main/flex/org/apache/flex/core/UIBase.as       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/256dcd71/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
index e242fd6..e524bc3 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
@@ -868,7 +868,7 @@ package org.apache.flex.core
             if (_view === null)
             {
                 var c:Class = ValuesManager.valuesImpl.getValue(this, "iBeadView") as Class;
-                if (c !== undefined)
+                if (c !== null)
                 {
                     _view = (new c()) as IBeadView;
                     addBead(_view);
@@ -1344,7 +1344,7 @@ package org.apache.flex.core
             if (getBeadByType(IBeadModel) === null)
             {
                 c = ValuesManager.valuesImpl.getValue(this, "iBeadModel") as Class;
-                if (c !== undefined)
+                if (c !== null)
                 {
                     var model:IBeadModel = new c as IBeadModel;
                     if (model)
@@ -1354,7 +1354,7 @@ package org.apache.flex.core
             if (_view === null && getBeadByType(IBeadView) === null)
             {
                 c = ValuesManager.valuesImpl.getValue(this, "iBeadView") as Class;
-                if (c !== undefined)
+                if (c !== null)
                 {
                     var view:IBeadView = new c as IBeadView;
                     if (view)
@@ -1364,7 +1364,7 @@ package org.apache.flex.core
             if (getBeadByType(IBeadController) === null)
             {
                 c = ValuesManager.valuesImpl.getValue(this, "iBeadController") as Class;
-                if (c !== undefined)
+                if (c !== null)
                 {
                     var controller:IBeadController = new c as IBeadController;
                     if (controller)