Skip to content

Commit 53d8e4d

Browse files
committed
Fixed Game.boot syntax error.
1 parent 33882ae commit 53d8e4d

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

Phaser/Game.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module Phaser {
5151

5252
if (document.readyState === 'complete' || document.readyState === 'interactive')
5353
{
54-
setTimeout((parent, width, height) => this.boot(parent, width, height));
54+
setTimeout(() => this.boot(parent, width, height));
5555
}
5656
else
5757
{

Phaser/phaser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Phaser
33
*
4-
* v0.9.3 - April 22nd 2013
4+
* v0.9.3 - April 24th 2013
55
*
66
* A small and feature-packed 2D canvas game framework born from the firey pits of Flixel and Kiwi.
77
*

Tests/phaser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11311,7 +11311,7 @@ var Phaser;
1131111311
this.onUpdateCallback = updateCallback;
1131211312
this.onRenderCallback = renderCallback;
1131311313
if(document.readyState === 'complete' || document.readyState === 'interactive') {
11314-
setTimeout(function (parent, width, height) {
11314+
setTimeout(function () {
1131511315
return _this.boot(parent, width, height);
1131611316
});
1131711317
} else {

build/phaser-093.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11311,7 +11311,7 @@ var Phaser;
1131111311
this.onUpdateCallback = updateCallback;
1131211312
this.onRenderCallback = renderCallback;
1131311313
if(document.readyState === 'complete' || document.readyState === 'interactive') {
11314-
setTimeout(function (parent, width, height) {
11314+
setTimeout(function () {
1131511315
return _this.boot(parent, width, height);
1131611316
});
1131711317
} else {

build/phaser-093.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)