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/01/06 00:21:27 UTC

[08/16] git commit: [flex-asjs] [refs/heads/develop] - need to support topMostEventDispatcher

need to support topMostEventDispatcher


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

Branch: refs/heads/develop
Commit: 73f9b8337d48fe9b4b2accfdf99996ac06aaaf67
Parents: 693d4e6
Author: Alex Harui <ah...@apache.org>
Authored: Mon Jan 5 10:13:01 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Jan 5 15:21:01 2015 -0800

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/73f9b833/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
index a1753d4..3a35c6e 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
@@ -806,3 +806,12 @@ org.apache.flex.core.UIBase.prototype.set_visible = function(value) {
     }
   }
 };
+
+
+/**
+ * @expose
+ * @return {Object} The top most EventDispatcher.
+ */
+org.apache.flex.core.UIBase.prototype.get_topMostEventDispatcher = function() {
+  return document.body.flexjs_wrapper;
+};