Updates to match the latest version of CreateJS (EaseJS v0.6, PreloadJS v0.3, SoundJS v0.4, and TweenJS v0.4).

Also fixed the easeljs-tests.ts so it compiles correctly.
This commit is contained in:
wdamien
2013-02-25 12:03:22 -07:00
parent f6d3f61a42
commit 127b4308fd
5 changed files with 309 additions and 63 deletions

33
tweenjs/tweenjs.d.ts vendored
View File

@@ -1,4 +1,4 @@
// Type definitions for TweenJS 0.3
// Type definitions for TweenJS 0.4
// Project: http://www.createjs.com/#!/TweenJS
// Definitions by: Pedro Ferreira <https://bitbucket.org/drk4>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -12,6 +12,13 @@
module createjs {
export class TweenJS {
// properties
version: string;
buildDate: string;
}
export class CSSPlugin {
// properties
static cssSuffixMap: Object;
@@ -128,6 +135,26 @@ module createjs {
wait(duration: number): void;
// events
onChange: (instance: Tween) => any;
change: (event) => any;
// EventDispatcher mixins
addEventListener(type: string, listener: (eventObj: Object) => bool): Function;
addEventListener(type: string, listener: (eventObj: Object) => bool): Object;
removeEventListener(type: string, listener: (eventObj: Function) => bool): void;
removeEventListener(type: string, listener: (eventObj: Object) => bool): void;
removeAllEventListeners(type: string): void;
dispatchEvent(eventObj: string, target: Object): bool;
dispatchEvent(eventObj: Object, target: Object): bool;
hasEventListener(type: string): bool;
}
}
export class MotionGuidePlugin {
// properties
static priority: number;
//methods
static install(): Object;
}
}