mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
global.Phaser = Phaser
has been removed, as it's no longer required by the UMD loader, which should make importing in Angular 10 easier. Fix #5212
This commit is contained in:
parent
5ab9e2e677
commit
f586cd472a
3 changed files with 3 additions and 9 deletions
|
@ -15,7 +15,7 @@ var Extend = require('./utils/object/Extend');
|
|||
|
||||
/**
|
||||
* The root types namespace.
|
||||
*
|
||||
*
|
||||
* @namespace Phaser.Types
|
||||
* @since 3.17.0
|
||||
*/
|
||||
|
@ -69,8 +69,6 @@ if (typeof FEATURE_SOUND)
|
|||
|
||||
module.exports = Phaser;
|
||||
|
||||
global.Phaser = Phaser;
|
||||
|
||||
/*
|
||||
* "Documentation is like pizza: when it is good, it is very, very good;
|
||||
* and when it is bad, it is better than nothing."
|
||||
|
|
|
@ -15,7 +15,7 @@ var Extend = require('./utils/object/Extend');
|
|||
|
||||
/**
|
||||
* The root types namespace.
|
||||
*
|
||||
*
|
||||
* @namespace Phaser.Types
|
||||
* @since 3.17.0
|
||||
*/
|
||||
|
@ -114,8 +114,6 @@ if (typeof FEATURE_SOUND)
|
|||
|
||||
module.exports = Phaser;
|
||||
|
||||
global.Phaser = Phaser;
|
||||
|
||||
/*
|
||||
* "Documentation is like pizza: when it is good, it is very, very good;
|
||||
* and when it is bad, it is better than nothing."
|
||||
|
|
|
@ -76,7 +76,7 @@ Phaser = Extend(false, Phaser, CONST);
|
|||
|
||||
/**
|
||||
* The root types namespace.
|
||||
*
|
||||
*
|
||||
* @namespace Phaser.Types
|
||||
* @since 3.17.0
|
||||
*/
|
||||
|
@ -85,8 +85,6 @@ Phaser = Extend(false, Phaser, CONST);
|
|||
|
||||
module.exports = Phaser;
|
||||
|
||||
global.Phaser = Phaser;
|
||||
|
||||
/*
|
||||
* "Documentation is like pizza: when it is good, it is very, very good;
|
||||
* and when it is bad, it is better than nothing."
|
||||
|
|
Loading…
Add table
Reference in a new issue