From 2da100236982f26ad175545a5b887cf82d881412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Philippe=20C=C3=B4t=C3=A9?= Date: Tue, 17 Apr 2018 20:34:15 -0400 Subject: [PATCH] [DOC] Updated Event constructor parameter documentation --- src/createjs/events/Event.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/createjs/events/Event.js b/src/createjs/events/Event.js index 1a983378c..ba092f0e8 100644 --- a/src/createjs/events/Event.js +++ b/src/createjs/events/Event.js @@ -53,8 +53,8 @@ this.createjs = this.createjs||{}; * rely on an event object's state outside of the call stack it was received in. * @class Event * @param {String} type The event type. - * @param {Boolean} bubbles Indicates whether the event will bubble through the display list. - * @param {Boolean} cancelable Indicates whether the default behaviour of this event can be cancelled. + * @param {Boolean} [bubbles=false] Indicates whether the event will bubble through the display list. + * @param {Boolean} [cancelable=false] Indicates whether the default behaviour of this event can be cancelled. * @constructor **/ function Event(type, bubbles, cancelable) {