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 2014/09/25 18:04:11 UTC
[29/50] git commit: [flex-asjs] [refs/heads/develop] - use host
use host
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/cecbcf43
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/cecbcf43
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/cecbcf43
Branch: refs/heads/develop
Commit: cecbcf43933d5e7774861734227a12eef31e26a4
Parents: b4ae6a1
Author: Alex Harui <ah...@apache.org>
Authored: Tue Sep 23 09:44:57 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Sep 23 15:01:20 2014 -0700
----------------------------------------------------------------------
.../org/apache/flex/html/beads/layouts/LayoutChangeNotifier.as | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cecbcf43/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/LayoutChangeNotifier.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/LayoutChangeNotifier.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/LayoutChangeNotifier.as
index 9a33910..dd7eec8 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/LayoutChangeNotifier.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/LayoutChangeNotifier.as
@@ -19,6 +19,7 @@
package org.apache.flex.html.beads.layouts
{
import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IStrand;
import org.apache.flex.events.Event;
import org.apache.flex.events.IEventDispatcher;
@@ -76,7 +77,7 @@ package org.apache.flex.html.beads.layouts
if (_value !== value)
{
_value = value;
- IEventDispatcher(_strand).dispatchEvent(new Event("layoutNeeded"));
+ IBeadView(_strand).host.dispatchEvent(new Event("layoutNeeded"));
}
}