mirror of
https://github.com/wassname/phaser.git
synced 2026-06-30 16:40:20 +08:00
Beta warning added.
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
var Phaser = Phaser || {
|
||||
|
||||
VERSION: '1.0.6',
|
||||
VERSION: '1.0.7-beta',
|
||||
GAMES: [],
|
||||
AUTO: 0,
|
||||
CANVAS: 1,
|
||||
|
||||
@@ -322,6 +322,11 @@ Phaser.Game.prototype = {
|
||||
console.log('%cPhaser ' + Phaser.VERSION + ' initialized. Rendering to WebGL', 'color: #ffff33; background: #000000');
|
||||
}
|
||||
|
||||
if (Phaser.VERSION.substr(-5) == '-beta')
|
||||
{
|
||||
console.warn('You are using a beta version of Phaser. Some things may not work.');
|
||||
}
|
||||
|
||||
this.isRunning = true;
|
||||
this._loadComplete = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user