Index: third_party/google_input_tools/third_party/closure_library/closure/goog/events/listenable.js |
diff --git a/third_party/google_input_tools/third_party/closure_library/closure/goog/events/listenable.js b/third_party/google_input_tools/third_party/closure_library/closure/goog/events/listenable.js |
index 6483f26883aba65db57e78bbf643b8e320101f9e..a05b348275f1b378bc6aff066332a4d831807c3d 100644 |
--- a/third_party/google_input_tools/third_party/closure_library/closure/goog/events/listenable.js |
+++ b/third_party/google_input_tools/third_party/closure_library/closure/goog/events/listenable.js |
@@ -14,6 +14,7 @@ |
/** |
* @fileoverview An interface for a listenable JavaScript object. |
+ * @author chrishenry@google.com (Chris Henry) |
*/ |
goog.provide('goog.events.Listenable'); |
@@ -96,7 +97,7 @@ goog.events.Listenable.isImplementedBy = function(obj) { |
* (registered via listenOnce), it will no longer be a one-off |
* listener after a call to listen(). |
* |
- * @param {string|!goog.events.EventId.<EVENTOBJ>} type The event type id. |
+ * @param {string|!goog.events.EventId<EVENTOBJ>} type The event type id. |
* @param {function(this:SCOPE, EVENTOBJ):(boolean|undefined)} listener Callback |
* method. |
* @param {boolean=} opt_useCapture Whether to fire in capture phase |
@@ -120,7 +121,7 @@ goog.events.Listenable.prototype.listen; |
* one-off listener, listenOnce does not modify the listeners (it is |
* still a once listener). |
* |
- * @param {string|!goog.events.EventId.<EVENTOBJ>} type The event type id. |
+ * @param {string|!goog.events.EventId<EVENTOBJ>} type The event type id. |
* @param {function(this:SCOPE, EVENTOBJ):(boolean|undefined)} listener Callback |
* method. |
* @param {boolean=} opt_useCapture Whether to fire in capture phase |
@@ -136,7 +137,7 @@ goog.events.Listenable.prototype.listenOnce; |
/** |
* Removes an event listener which was added with listen() or listenOnce(). |
* |
- * @param {string|!goog.events.EventId.<EVENTOBJ>} type The event type id. |
+ * @param {string|!goog.events.EventId<EVENTOBJ>} type The event type id. |
* @param {function(this:SCOPE, EVENTOBJ):(boolean|undefined)} listener Callback |
* method. |
* @param {boolean=} opt_useCapture Whether to fire in capture phase |
@@ -192,7 +193,7 @@ goog.events.Listenable.prototype.removeAllListeners; |
* Returns the parent of this event target to use for capture/bubble |
* mechanism. |
* |
- * NOTE(user): The name reflects the original implementation of |
+ * NOTE(chrishenry): The name reflects the original implementation of |
* custom event target ({@code goog.events.EventTarget}). We decided |
* that changing the name is not worth it. |
* |
@@ -208,7 +209,7 @@ goog.events.Listenable.prototype.getParentEventTarget; |
* does not perform actual capture/bubble. Only implementors of the |
* interface should be using this. |
* |
- * @param {string|!goog.events.EventId.<EVENTOBJ>} type The type of the |
+ * @param {string|!goog.events.EventId<EVENTOBJ>} type The type of the |
* listeners to fire. |
* @param {boolean} capture The capture mode of the listeners to fire. |
* @param {EVENTOBJ} eventObject The event object to fire. |
@@ -227,7 +228,7 @@ goog.events.Listenable.prototype.fireListeners; |
* |
* @param {string|!goog.events.EventId} type The type of the listeners to fire. |
* @param {boolean} capture The capture mode of the listeners to fire. |
- * @return {!Array.<goog.events.ListenableKey>} An array of registered |
+ * @return {!Array<goog.events.ListenableKey>} An array of registered |
* listeners. |
* @template EVENTOBJ |
*/ |
@@ -238,7 +239,7 @@ goog.events.Listenable.prototype.getListeners; |
* Gets the goog.events.ListenableKey for the event or null if no such |
* listener is in use. |
* |
- * @param {string|!goog.events.EventId.<EVENTOBJ>} type The name of the event |
+ * @param {string|!goog.events.EventId<EVENTOBJ>} type The name of the event |
* without the 'on' prefix. |
* @param {function(this:SCOPE, EVENTOBJ):(boolean|undefined)} listener The |
* listener function to get. |
@@ -256,7 +257,7 @@ goog.events.Listenable.prototype.getListener; |
* signature. If either the type or capture parameters are |
* unspecified, the function will match on the remaining criteria. |
* |
- * @param {string|!goog.events.EventId.<EVENTOBJ>=} opt_type Event type. |
+ * @param {string|!goog.events.EventId<EVENTOBJ>=} opt_type Event type. |
* @param {boolean=} opt_capture Whether to check for capture or bubble |
* listeners. |
* @return {boolean} Whether there is any active listeners matching |