2727*/
2828
2929/**
30- * A collection of Classes that are shared across all the CreateJS libraries. The classes are included in the minified
31- * files of each library and are available on the createsjs namespace directly.
32- *
33- * <h4>Example</h4>
34- * myObject.addEventListener("change", createjs.proxy(myMethod, scope));
35- *
3630 * @module CreateJS
3731 */
3832
@@ -57,7 +51,7 @@ this.createjs = this.createjs||{};
5751 * {{#crossLink "EventDispatcher/off"}}{{/crossLink}} method is merely an alias to
5852 * {{#crossLink "EventDispatcher/removeEventListener"}}{{/crossLink}}.
5953 *
60- * Another addition to the DOM Level 2 model is the {{#crossLink "EventDispatcher/removeAllListeners "}}{{/crossLink}}
54+ * Another addition to the DOM Level 2 model is the {{#crossLink "EventDispatcher/removeAllEventListeners "}}{{/crossLink}}
6155 * method, which can be used to listeners for all events, or listeners for a specific event. The Event object also
6256 * includes a {{#crossLink "Event/remove"}}{{/crossLink}} method which removes the active listener.
6357 *
@@ -92,7 +86,7 @@ this.createjs = this.createjs||{};
9286 * @constructor
9387 **/
9488var EventDispatcher = function ( ) {
95- this . initialize ( ) ;
89+ /* this.initialize(); */ // not needed.
9690} ;
9791var p = EventDispatcher . prototype ;
9892
@@ -266,7 +260,7 @@ var p = EventDispatcher.prototype;
266260 * <h4>Example</h4>
267261 *
268262 * // Remove all listeners
269- * displayObject.removeAllEvenListeners ();
263+ * displayObject.removeAllEventListeners ();
270264 *
271265 * // Remove all click listeners
272266 * displayObject.removeAllEventListeners("click");
0 commit comments