flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [22/22] git commit: [flex-asjs] [refs/heads/develop] - revert dispatching everything off of element
Date Fri, 09 Jan 2015 16:10:35 GMT
revert dispatching everything off of element


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

Branch: refs/heads/develop
Commit: 6291e645566731d286de6ae9ba7b455199188239
Parents: 534e8ad
Author: Alex Harui <aharui@apache.org>
Authored: Fri Jan 9 07:48:39 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Jan 9 08:09:51 2015 -0800

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/html/Button.js | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6291e645/frameworks/js/FlexJS/src/org/apache/flex/html/Button.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Button.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Button.js
index ab9f3b9..671c7d2 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/Button.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Button.js
@@ -58,15 +58,3 @@ org.apache.flex.html.Button.prototype.createElement =
   return this.element;
 };
 
-
-/**
- * @override
- * Buttons dispatch events off the element.
- */
-org.apache.flex.html.Button.prototype.dispatchEvent =
-    function(e) {
-  if (this.element && typeof(e) != 'string')
-    return this.element.dispatchEvent(e);
-  return org.apache.flex.html.Button.base(this, 'dispatchEvent', e);
-};
-


Mime
View raw message