mirror of
https://github.com/wassname/phaser.git
synced 2026-06-28 16:20:37 +08:00
Fixed Game.boot syntax error.
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ module Phaser {
|
||||
|
||||
if (document.readyState === 'complete' || document.readyState === 'interactive')
|
||||
{
|
||||
setTimeout((parent, width, height) => this.boot(parent, width, height));
|
||||
setTimeout(() => this.boot(parent, width, height));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Phaser
|
||||
*
|
||||
* v0.9.3 - April 22nd 2013
|
||||
* v0.9.3 - April 24th 2013
|
||||
*
|
||||
* A small and feature-packed 2D canvas game framework born from the firey pits of Flixel and Kiwi.
|
||||
*
|
||||
|
||||
+1
-1
@@ -11311,7 +11311,7 @@ var Phaser;
|
||||
this.onUpdateCallback = updateCallback;
|
||||
this.onRenderCallback = renderCallback;
|
||||
if(document.readyState === 'complete' || document.readyState === 'interactive') {
|
||||
setTimeout(function (parent, width, height) {
|
||||
setTimeout(function () {
|
||||
return _this.boot(parent, width, height);
|
||||
});
|
||||
} else {
|
||||
|
||||
+1
-1
@@ -11311,7 +11311,7 @@ var Phaser;
|
||||
this.onUpdateCallback = updateCallback;
|
||||
this.onRenderCallback = renderCallback;
|
||||
if(document.readyState === 'complete' || document.readyState === 'interactive') {
|
||||
setTimeout(function (parent, width, height) {
|
||||
setTimeout(function () {
|
||||
return _this.boot(parent, width, height);
|
||||
});
|
||||
} else {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user