flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [08/16] git commit: [flex-asjs] [refs/heads/develop] - need to support topMostEventDispatcher
Date Mon, 05 Jan 2015 23:21:27 GMT
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 <aharui@apache.org>
Authored: Mon Jan 5 10:13:01 2015 -0800
Committer: Alex Harui <aharui@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;
+};


Mime
View raw message