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/04/09 01:06:02 UTC
[43/47] git commit: [flex-asjs] [refs/heads/develop] - don't require
models to implement IBead
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 <ah...@apache.org>
Authored: Wed Apr 8 15:23:54 2015 -0700
Committer: Alex Harui <ah...@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);