mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Added LOG_VERSION
This commit is contained in:
parent
eb7f17c387
commit
833802c6e5
2 changed files with 12 additions and 2 deletions
12
src/const.js
12
src/const.js
|
@ -20,7 +20,17 @@ var CONST = {
|
|||
* @type {string}
|
||||
* @since 3.0.0
|
||||
*/
|
||||
VERSION: '3.86.0',
|
||||
VERSION: '3.86.1',
|
||||
|
||||
/**
|
||||
* Phaser Release Version as displayed in the console.log header URL.
|
||||
*
|
||||
* @name Phaser.LOG_VERSION
|
||||
* @const
|
||||
* @type {string}
|
||||
* @since 3.86.1
|
||||
*/
|
||||
LOG_VERSION: 'v386',
|
||||
|
||||
BlendModes: require('./renderer/BlendModes'),
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ var Config = new Class({
|
|||
/**
|
||||
* @const {string} Phaser.Core.Config#gameURL - The URL of the game.
|
||||
*/
|
||||
this.gameURL = GetValue(config, 'url', 'https://phaser.io/v385/');
|
||||
this.gameURL = GetValue(config, 'url', 'https://phaser.io/' + CONST.LOG_VERSION);
|
||||
|
||||
/**
|
||||
* @const {string} Phaser.Core.Config#gameVersion - The version of the game.
|
||||
|
|
Loading…
Reference in a new issue