defs typo fix

This commit is contained in:
photonstorm 2014-05-20 00:08:39 +01:00
parent cb541beba9
commit a8256f4ef7
2 changed files with 3 additions and 3 deletions

2
build/phaser.d.ts vendored
View file

@ -2652,7 +2652,7 @@ declare module Phaser {
mouseOverCallback: Function;
mouseUpCallback: Function;
pointerLock: Phaser.Signal;
spotOnGameOut: boolean;
stopOnGameOut: boolean;
onMouseDown(event: MouseEvent): void;
onMouseMove(event: MouseEvent): void;

View file

@ -101,7 +101,7 @@ Phaser.AnimationManager.prototype = {
*/
add: function (name, frames, frameRate, loop, useNumericIndex) {
if (this._frameData == null)
if (this._frameData === null)
{
console.warn('No FrameData available for Phaser.Animation ' + name);
return;
@ -126,7 +126,7 @@ Phaser.AnimationManager.prototype = {
}
// Create the signals the AnimationManager will emit
if (this.sprite.events.onAnimationStart == null)
if (this.sprite.events.onAnimationStart === null)
{
this.sprite.events.onAnimationStart = new Phaser.Signal();
this.sprite.events.onAnimationComplete = new Phaser.Signal();