From d1fde7fa2a7106459c7f580bbad5f94a60cd669b Mon Sep 17 00:00:00 2001 From: artsjedi Date: Mon, 26 Aug 2013 13:06:56 -0300 Subject: [PATCH] Change EventDispatcher methods to Static methods --- soundjs/soundjs.d.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/soundjs/soundjs.d.ts b/soundjs/soundjs.d.ts index 119bb6b76..0cd0e71d2 100644 --- a/soundjs/soundjs.d.ts +++ b/soundjs/soundjs.d.ts @@ -185,16 +185,16 @@ declare module createjs { static stop(): boolean; // events - loadComplete: () => any; + static loadComplete: () => any; // EventDispatcher mixins - addEventListener(type: string, listener: (eventObj: Object) => boolean): any; - removeEventListener(type: string, listener: (eventObj: Function) => boolean): void; - removeEventListener(type: string, listener: (eventObj: Object) => boolean): void; - removeAllEventListeners(type: string): void; - dispatchEvent(eventObj: string, target: Object): boolean; - dispatchEvent(eventObj: Object, target: Object): boolean; - hasEventListener(type: string): boolean; + static addEventListener(type: string, listener: (eventObj: Object) => boolean): any; + static removeEventListener(type: string, listener: (eventObj: Function) => boolean): void; + static removeEventListener(type: string, listener: (eventObj: Object) => boolean): void; + static removeAllEventListeners(type: string): void; + static dispatchEvent(eventObj: string, target: Object): boolean; + static dispatchEvent(eventObj: Object, target: Object): boolean; + static hasEventListener(type: string): boolean; } export class BrowserDetect {