Skip to content

Commit 9c1a36d

Browse files
committed
Build Phaser v2.10.5
1 parent 7712033 commit 9c1a36d

File tree

214 files changed

+7613
-7543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+7613
-7543
lines changed

build/custom/creature.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/p2.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-arcade-physics.js

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.10.4 "2018-05-03" - Built: Thu May 03 2018 15:47:45
10+
* v2.10.5 "2018-05-08" - Built: Tue May 08 2018 12:21:20
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -7596,7 +7596,7 @@ var Phaser = Phaser || { // jshint ignore:line
75967596
* @constant Phaser.VERSION
75977597
* @type {string}
75987598
*/
7599-
VERSION: '2.10.4',
7599+
VERSION: '2.10.5',
76007600

76017601
/**
76027602
* An array of Phaser game instances.
@@ -66883,6 +66883,12 @@ Phaser.SoundManager = function (game) {
6688366883
*/
6688466884
this._watchContext = null;
6688566885

66886+
/**
66887+
* @property {function} _resumeWebAudioOnClick - Bound 'click' handler. Added in boot(), if necessary.
66888+
* @private
66889+
*/
66890+
this._resumeWebAudioOnClick = this._resumeWebAudioOnClick.bind(this);
66891+
6688666892
};
6688766893

6688866894
Phaser.SoundManager.prototype = {
@@ -66980,7 +66986,7 @@ Phaser.SoundManager.prototype = {
6698066986
// In that case the input handler will do nothing, which is fine.
6698166987
if (this.context.state === 'suspended')
6698266988
{
66983-
this.game.input.onUp.addOnce(this.resumeWebAudio, this);
66989+
this.game.canvas.addEventListener('click', this._resumeWebAudioOnClick);
6698466990
}
6698566991
}
6698666992

@@ -67510,6 +67516,8 @@ Phaser.SoundManager.prototype = {
6751067516

6751167517
this.onSoundDecode.dispose();
6751267518

67519+
this.game.canvas.removeEventListener('click', this._resumeWebAudioOnClick);
67520+
6751367521
if (this.context)
6751467522
{
6751567523
if (window.PhaserGlobal)
@@ -67526,6 +67534,12 @@ Phaser.SoundManager.prototype = {
6752667534
}
6752767535
}
6752867536

67537+
},
67538+
67539+
_resumeWebAudioOnClick: function () {
67540+
this.resumeWebAudio();
67541+
67542+
this.game.canvas.removeEventListener('click', this._resumeWebAudioOnClick);
6752967543
}
6753067544

6753167545
};

build/custom/phaser-arcade-physics.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-arcade-physics.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-creature.js

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.10.4 "2018-05-03" - Built: Thu May 03 2018 15:48:14
10+
* v2.10.5 "2018-05-08" - Built: Tue May 08 2018 12:21:49
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -53,7 +53,7 @@ var Phaser = Phaser || { // jshint ignore:line
5353
* @constant Phaser.VERSION
5454
* @type {string}
5555
*/
56-
VERSION: '2.10.4',
56+
VERSION: '2.10.5',
5757

5858
/**
5959
* An array of Phaser game instances.
@@ -59340,6 +59340,12 @@ Phaser.SoundManager = function (game) {
5934059340
*/
5934159341
this._watchContext = null;
5934259342

59343+
/**
59344+
* @property {function} _resumeWebAudioOnClick - Bound 'click' handler. Added in boot(), if necessary.
59345+
* @private
59346+
*/
59347+
this._resumeWebAudioOnClick = this._resumeWebAudioOnClick.bind(this);
59348+
5934359349
};
5934459350

5934559351
Phaser.SoundManager.prototype = {
@@ -59437,7 +59443,7 @@ Phaser.SoundManager.prototype = {
5943759443
// In that case the input handler will do nothing, which is fine.
5943859444
if (this.context.state === 'suspended')
5943959445
{
59440-
this.game.input.onUp.addOnce(this.resumeWebAudio, this);
59446+
this.game.canvas.addEventListener('click', this._resumeWebAudioOnClick);
5944159447
}
5944259448
}
5944359449

@@ -59967,6 +59973,8 @@ Phaser.SoundManager.prototype = {
5996759973

5996859974
this.onSoundDecode.dispose();
5996959975

59976+
this.game.canvas.removeEventListener('click', this._resumeWebAudioOnClick);
59977+
5997059978
if (this.context)
5997159979
{
5997259980
if (window.PhaserGlobal)
@@ -59983,6 +59991,12 @@ Phaser.SoundManager.prototype = {
5998359991
}
5998459992
}
5998559993

59994+
},
59995+
59996+
_resumeWebAudioOnClick: function () {
59997+
this.resumeWebAudio();
59998+
59999+
this.game.canvas.removeEventListener('click', this._resumeWebAudioOnClick);
5998660000
}
5998760001

5998860002
};

build/custom/phaser-creature.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-creature.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-minimum.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.10.4 "2018-05-03" - Built: Thu May 03 2018 15:47:58
10+
* v2.10.5 "2018-05-08" - Built: Tue May 08 2018 12:21:33
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -7596,7 +7596,7 @@ var Phaser = Phaser || { // jshint ignore:line
75967596
* @constant Phaser.VERSION
75977597
* @type {string}
75987598
*/
7599-
VERSION: '2.10.4',
7599+
VERSION: '2.10.5',
76007600

76017601
/**
76027602
* An array of Phaser game instances.

build/custom/phaser-minimum.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)