Skip to content

Commit 04b26aa

Browse files
authored
Merge pull request #950 from cotejp/patch-1
[DOC] Updated Event constructor parameter documentation
2 parents 2fad9c6 + 2da1002 commit 04b26aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/createjs/events/Event.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ this.createjs = this.createjs||{};
5353
* rely on an event object's state outside of the call stack it was received in.
5454
* @class Event
5555
* @param {String} type The event type.
56-
* @param {Boolean} bubbles Indicates whether the event will bubble through the display list.
57-
* @param {Boolean} cancelable Indicates whether the default behaviour of this event can be cancelled.
56+
* @param {Boolean} [bubbles=false] Indicates whether the event will bubble through the display list.
57+
* @param {Boolean} [cancelable=false] Indicates whether the default behaviour of this event can be cancelled.
5858
* @constructor
5959
**/
6060
function Event(type, bubbles, cancelable) {

0 commit comments

Comments
 (0)