flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [11/16] git commit: [flex-asjs] [refs/heads/develop] - move elementEvents to static so easier to add to list
Date Mon, 05 Jan 2015 23:21:30 GMT
move elementEvents to static so easier to add to list


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

Branch: refs/heads/develop
Commit: 7487a059699efaa8a4fe4147edd6ac69c4dc88f3
Parents: 1f9061d
Author: Alex Harui <aharui@apache.org>
Authored: Mon Jan 5 14:27:50 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Jan 5 15:21:02 2015 -0800

----------------------------------------------------------------------
 .../js/FlexJS/src/org/apache/flex/events/EventDispatcher.js      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7487a059/frameworks/js/FlexJS/src/org/apache/flex/events/EventDispatcher.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/EventDispatcher.js b/frameworks/js/FlexJS/src/org/apache/flex/events/EventDispatcher.js
index fd11a82..8a101ff 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/events/EventDispatcher.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/events/EventDispatcher.js
@@ -59,7 +59,7 @@ org.apache.flex.events.EventDispatcher.prototype.addEventListener =
       this.element.nodeName.toLowerCase() !== 'div' &&
       this.element.nodeName.toLowerCase() !== 'body') {
     source = this.element;
-  } else if (this.elementEvents[type]) {
+  } else if (org.apache.flex.events.EventDispatcher.elementEvents[type]) {
     // mouse and keyboard events also dispatch off the element.
     source = this.element;
   }
@@ -102,7 +102,7 @@ function(obj, propName, value) {
 /**
  * @type {Object}
  */
-org.apache.flex.events.EventDispatcher.prototype.elementEvents = {
+org.apache.flex.events.EventDispatcher.elementEvents = {
   mouseover: 1,
   mouseout: 1,
   mouseup: 1,


Mime
View raw message