flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [09/15] git commit: [flex-asjs] [refs/heads/core_js_to_as] - tweak BrowserEvent. MouseButton is a GCL-style enum that we don't really have an equivalent for in AS.
Date Mon, 28 Sep 2015 05:46:23 GMT
tweak BrowserEvent.  MouseButton is a GCL-style enum that we don't really have an equivalent
for in AS.


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

Branch: refs/heads/core_js_to_as
Commit: 48baa49d131b20051f4c1b725300f51fd8056dfc
Parents: 47f3fb6
Author: Alex Harui <aharui@apache.org>
Authored: Thu Sep 17 09:28:10 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Thu Sep 17 09:59:54 2015 -0700

----------------------------------------------------------------------
 .../as/src/org/apache/flex/events/BrowserEvent.as     | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/48baa49d/frameworks/projects/Core/as/src/org/apache/flex/events/BrowserEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/events/BrowserEvent.as b/frameworks/projects/Core/as/src/org/apache/flex/events/BrowserEvent.as
index c298cfa..71b45c6 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/events/BrowserEvent.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/events/BrowserEvent.as
@@ -14,15 +14,9 @@
 package org.apache.flex.events
 {
 
-	COMPILE::JS {
-		import goog.events.BrowserEvent.MouseButton;
-	}
-
-	[ExcludeClass]
-	COMPILE::AS3
-	public class BrowserEvent
-	{
-	}
+    COMPILE::JS {        
+        import goog.events.BrowserEvent;
+    }
 
 	/**
 	 * @fileoverview A patched, standardized event object for browser events.
@@ -227,7 +221,7 @@ package org.apache.flex.events
          * @playerversion AIR 2.6
          * @productversion FlexJS 0.0
 		 */
-		public function isButton(button:MouseButton):Boolean
+		public function isButton(button:int):Boolean
 		{
 			return wrappedEvent.isButton(button);
 		}


Mime
View raw message