flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject git commit: [flex-asjs] [refs/heads/feature/browser-event] - This needs new typedefs
Date Sun, 23 Jul 2017 21:37:04 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/browser-event 5224af3ff -> ad5831056


This needs new typedefs


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

Branch: refs/heads/feature/browser-event
Commit: ad5831056d89a643a05830a7f024e552cd2f835d
Parents: 5224af3
Author: Harbs <harbs@in-tools.com>
Authored: Mon Jul 24 00:37:00 2017 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Mon Jul 24 00:37:00 2017 +0300

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/events/KeyboardEvent.as    | 8 ++++----
 .../Core/src/main/flex/org/apache/flex/events/MouseEvent.as  | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ad583105/frameworks/projects/Core/src/main/flex/org/apache/flex/events/KeyboardEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/KeyboardEvent.as
b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/KeyboardEvent.as
index cf9109a..91ea639 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/KeyboardEvent.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/KeyboardEvent.as
@@ -77,9 +77,9 @@ package org.apache.flex.events
          * @productversion FlexJS 0.9
 		 */
         COMPILE::JS
-		public function get target():Object
+		override public function get target():Object
 		{
-			return wrappedEvent ? getTargetWrapper(wrappedEvent.target) : null;
+			return wrappedEvent ? getTargetWrapper(wrappedEvent.target) : super.target;
 		}
 
 		/**
@@ -91,9 +91,9 @@ package org.apache.flex.events
          * @productversion FlexJS 0.9
 		 */
         COMPILE::JS
-		public function get currentTarget():Object
+		override public function get currentTarget():Object
 		{
-			return wrappedEvent ? getTargetWrapper(wrappedEvent.currentTarget) : null;
+			return wrappedEvent ? getTargetWrapper(wrappedEvent.currentTarget) : super.currentTarget;
 		}
 
         private var _key:String;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ad583105/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
index 37ec839..19a044a 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
@@ -312,9 +312,9 @@ package org.apache.flex.events
          * @playerversion AIR 2.6
          * @productversion FlexJS 0.0
 		 */
-		public function get target():Object
+		override public function get target():Object
 		{
-			return wrappedEvent ? getTargetWrapper(wrappedEvent.target) : null;
+			return wrappedEvent ? getTargetWrapper(wrappedEvent.target) : super.target;
 		}
 
 		/**
@@ -325,9 +325,9 @@ package org.apache.flex.events
          * @playerversion AIR 2.6
          * @productversion FlexJS 0.0
 		 */
-		public function get currentTarget():Object
+		override public function get currentTarget():Object
 		{
-			return wrappedEvent ? getTargetWrapper(wrappedEvent.currentTarget) : null;
+			return wrappedEvent ? getTargetWrapper(wrappedEvent.currentTarget) : super.currentTarget;
 		}
 
 		// TODO remove this when figure out how to preserve the real target


Mime
View raw message