Skip to content

Commit 8b94cd7

Browse files
committed
Undo phaserjs#5212 as it breaks all imports in webpack
1 parent ea73a72 commit 8b94cd7

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/phaser-arcade-physics.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ if (typeof FEATURE_SOUND)
6969

7070
module.exports = Phaser;
7171

72+
global.Phaser = Phaser;
73+
7274
/*
7375
* "Documentation is like pizza: when it is good, it is very, very good;
7476
* and when it is bad, it is better than nothing."

src/phaser-core.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ if (typeof FEATURE_SOUND)
114114

115115
module.exports = Phaser;
116116

117+
global.Phaser = Phaser;
118+
117119
/*
118120
* "Documentation is like pizza: when it is good, it is very, very good;
119121
* and when it is bad, it is better than nothing."

src/phaser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ Phaser = Extend(false, Phaser, CONST);
8585

8686
module.exports = Phaser;
8787

88+
global.Phaser = Phaser;
89+
8890
/*
8991
* "Documentation is like pizza: when it is good, it is very, very good;
9092
* and when it is bad, it is better than nothing."

0 commit comments

Comments
 (0)