flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/8] git commit: [flex-falcon] [refs/heads/develop] - more changes to get Core.swc to compile
Date Thu, 08 Oct 2015 19:06:19 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 783e8b19b -> def7ab13f


more changes to get Core.swc to compile


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

Branch: refs/heads/develop
Commit: 8e1985f3f048b3a15dbbf6195fd16e3988627ddc
Parents: 783e8b1
Author: Alex Harui <aharui@apache.org>
Authored: Tue Oct 6 09:31:52 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Oct 6 09:31:52 2015 -0700

----------------------------------------------------------------------
 externs/GCL/src/goog/events.as             |  3 +++
 externs/GCL/src/goog/events/EventTarget.as | 12 ++++++------
 externs/GCL/src/goog/events/Listenable.as  |  8 ++++----
 3 files changed, 13 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8e1985f3/externs/GCL/src/goog/events.as
----------------------------------------------------------------------
diff --git a/externs/GCL/src/goog/events.as b/externs/GCL/src/goog/events.as
index 9da3cfb..b601b32 100644
--- a/externs/GCL/src/goog/events.as
+++ b/externs/GCL/src/goog/events.as
@@ -20,5 +20,8 @@ package goog {
 public class events {
     public static function get fireListener():Function{return null;}
     public static function set fireListener(value:Function):void{}
+	public static function hasListener(object:Object, type:String = null, capture:Boolean =
false):Boolean{return false};
+	public static function listen(object:Object, type:String, handler:Function, capture:Boolean
= false, scope:Object = null):Boolean{return false}; 
+	public static function unlisten(object:Object, type:String, handler:Function, capture:Boolean
= false, scope:Object = null):Boolean{return false}; 
 }
 }

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8e1985f3/externs/GCL/src/goog/events/EventTarget.as
----------------------------------------------------------------------
diff --git a/externs/GCL/src/goog/events/EventTarget.as b/externs/GCL/src/goog/events/EventTarget.as
index 1c97ef5..948ec09 100644
--- a/externs/GCL/src/goog/events/EventTarget.as
+++ b/externs/GCL/src/goog/events/EventTarget.as
@@ -131,7 +131,7 @@ public class EventTarget extends Disposable implements Listenable {
      * @param opt_handlerScope [(Object|null|undefined)] Object in whose scope to call the
listener.
      * @see [eventtarget]
      */
-    public function addEventListener(type:String, handler:Object, opt_capture:Boolean = false,
opt_handlerScope:Object = null):void {  }
+    public function addEventListener(type:String, handler:Function, opt_capture:Boolean =
false, opt_handlerScope:Object = null):void {  }
 
 
     /**
@@ -153,7 +153,7 @@ public class EventTarget extends Disposable implements Listenable {
      * @param opt_handlerScope [(Object|null|undefined)] Object in whose scope to call the
listener.
      * @see [eventtarget]
      */
-    public function removeEventListener(type:String, handler:Object, opt_capture:Boolean
= false, opt_handlerScope:Object = null):void {  }
+    public function removeEventListener(type:String, handler:Function, opt_capture:Boolean
= false, opt_handlerScope:Object = null):void {  }
 
     /**
      * Asserts that the event target instance is initialized properly.
@@ -165,7 +165,7 @@ public class EventTarget extends Disposable implements Listenable {
     /**
      * @see [eventtarget]
      */
-    public function unlisten(type:Object, listener:Object, opt_useCapture:Boolean = false,
opt_listenerScope:Object = null):void {  }
+    public function unlisten(type:Object, listener:Function, opt_useCapture:Boolean = false,
opt_listenerScope:Object = null):void {  }
 
     /**
      * @see [eventtarget]
@@ -175,7 +175,7 @@ public class EventTarget extends Disposable implements Listenable {
     /**
      * @see [eventtarget]
      */
-    public function listenOnce(type:Object, listener:Object, opt_useCapture:Boolean = false,
opt_listenerScope:Object = null):ListenableKey { return null }
+    public function listenOnce(type:Object, listener:Function, opt_useCapture:Boolean = false,
opt_listenerScope:Object = null):ListenableKey { return null }
 
     /**
      * @see [eventtarget]
@@ -195,12 +195,12 @@ public class EventTarget extends Disposable implements Listenable {
     /**
      * @see [eventtarget]
      */
-    public function getListener(type:Object, listener:Object, opt_useCapture:Boolean = false,
opt_listenerScope:Object = null):goog.events.ListenableKey { return null }
+    public function getListener(type:Object, listener:Function, opt_useCapture:Boolean =
false, opt_listenerScope:Object = null):goog.events.ListenableKey { return null }
 
     /**
      * @see [eventtarget]
      */
-    public function listen(type:Object, listener:Object, opt_useCapture:Boolean = false,
opt_listenerScope:Object = null):goog.events.ListenableKey { return null }
+    public function listen(type:Object, listener:Function, opt_useCapture:Boolean = false,
opt_listenerScope:Object = null):goog.events.ListenableKey { return null }
 
     /**
      * Dispatches the given event on the ancestorsTree.

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8e1985f3/externs/GCL/src/goog/events/Listenable.as
----------------------------------------------------------------------
diff --git a/externs/GCL/src/goog/events/Listenable.as b/externs/GCL/src/goog/events/Listenable.as
index 879f879..dc46274 100644
--- a/externs/GCL/src/goog/events/Listenable.as
+++ b/externs/GCL/src/goog/events/Listenable.as
@@ -104,7 +104,7 @@ public interface Listenable {
      *
      * @see [listenable]
      */
-    function unlisten(type:Object, listener:Object, opt_useCapture:Boolean = false, opt_listenerScope:Object
= null):void;
+    function unlisten(type:Object, listener:Function, opt_useCapture:Boolean = false, opt_listenerScope:Object
= null):void;
 
     /**
      * Whether there is any active listeners matching the specified
@@ -128,7 +128,7 @@ public interface Listenable {
      *
      * @see [listenable]
      */
-    function listenOnce(type:Object, listener:Object, opt_useCapture:Boolean = false, opt_listenerScope:Object
= null):ListenableKey;
+    function listenOnce(type:Object, listener:Function, opt_useCapture:Boolean = false, opt_listenerScope:Object
= null):ListenableKey;
 
     /**
      * Gets the goog.events.ListenableKey for the event or null if no such
@@ -136,7 +136,7 @@ public interface Listenable {
      *
      * @see [listenable]
      */
-    function getListener(type:Object, listener:Object, opt_useCapture:Boolean = false, opt_listenerScope:Object
= null):ListenableKey;
+    function getListener(type:Object, listener:Function, opt_useCapture:Boolean = false,
opt_listenerScope:Object = null):ListenableKey;
 
     /**
      * Adds an event listener. A listener can only be added once to an
@@ -147,7 +147,7 @@ public interface Listenable {
      *
      * @see [listenable]
      */
-    function listen(type:Object, listener:Object, opt_useCapture:Boolean = false, opt_listenerScope:Object
= null):ListenableKey;
+    function listen(type:Object, listener:Function, opt_useCapture:Boolean = false, opt_listenerScope:Object
= null):ListenableKey;
 
     /**
      * Gets all listeners in this listenable for the given type and


Mime
View raw message