flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [43/47] git commit: [flex-asjs] [refs/heads/develop] - don't require models to implement IBead
Date Wed, 08 Apr 2015 23:06:02 GMT
don't require models to implement IBead


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

Branch: refs/heads/develop
Commit: bf7bac390fe4857a4894a1602e78b4cbd899e551
Parents: fb59aab
Author: Alex Harui <aharui@apache.org>
Authored: Wed Apr 8 15:23:54 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Apr 8 15:23:54 2015 -0700

----------------------------------------------------------------------
 .../as/projects/FlexJSUI/src/org/apache/flex/core/Application.as | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bf7bac39/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
index 0bc16b7..0861645 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
@@ -125,8 +125,8 @@ package org.apache.flex.core
         
         private function initHandler(event:flash.events.Event):void
         {
-			if (model) addBead(model as IBead);
-			if (controller) addBead(controller as IBead);
+			if (model is IBead) addBead(model as IBead);
+			if (controller is IBead) addBead(controller as IBead);
 			
             MouseEventConverter.setupAllConverters(stage);
                 


Mime
View raw message