Skip to content

Commit 827e8e7

Browse files
author
Lanny McNie
committed
Minor updates to Event classes
1 parent f18fd4e commit 827e8e7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/createjs/events/Event.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ this.createjs = this.createjs||{};
5353
* @param {String} type The event type.
5454
* @param {Boolean} bubbles Indicates whether the event will bubble through the display list.
5555
* @param {Boolean} cancelable Indicates whether the default behaviour of this event can be cancelled.
56-
* @uses EventDispatcher
5756
* @constructor
5857
**/
5958
var Event = function(type, bubbles, cancelable) {

src/createjs/events/EventDispatcher.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ this.createjs = this.createjs||{};
5151
* {{#crossLink "EventDispatcher/off"}}{{/crossLink}} method is merely an alias to
5252
* {{#crossLink "EventDispatcher/removeEventListener"}}{{/crossLink}}.
5353
*
54-
* 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}}
5555
* method, which can be used to listeners for all events, or listeners for a specific event. The Event object also
5656
* includes a {{#crossLink "Event/remove"}}{{/crossLink}} method which removes the active listener.
5757
*
@@ -86,7 +86,7 @@ this.createjs = this.createjs||{};
8686
* @constructor
8787
**/
8888
var EventDispatcher = function() {
89-
this.initialize();
89+
/* this.initialize(); */ // not needed.
9090
};
9191
var p = EventDispatcher.prototype;
9292

0 commit comments

Comments
 (0)