From e77dba402c4e7206e8f07f2a82642f890c83fe92 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Tue, 24 Sep 2013 15:59:10 +0100 Subject: [PATCH] Beta warning added. --- src/Phaser.js | 2 +- src/core/Game.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Phaser.js b/src/Phaser.js index a3265766..662b1a94 100644 --- a/src/Phaser.js +++ b/src/Phaser.js @@ -3,7 +3,7 @@ */ var Phaser = Phaser || { - VERSION: '1.0.6', + VERSION: '1.0.7-beta', GAMES: [], AUTO: 0, CANVAS: 1, diff --git a/src/core/Game.js b/src/core/Game.js index 7f14380f..c24dbb40 100644 --- a/src/core/Game.js +++ b/src/core/Game.js @@ -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;