Skip to content

Commit daea5f5

Browse files
committed
Fixed Edge device check.
1 parent 34c4843 commit daea5f5

17 files changed

Lines changed: 40 additions & 40 deletions

build/custom/phaser-arcade-physics.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:25:48
10+
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:36:39
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -44882,6 +44882,10 @@ Phaser.Device._initialize = function () {
4488244882
{
4488344883
device.arora = true;
4488444884
}
44885+
else if (/Edge\/\d+/.test(ua))
44886+
{
44887+
device.edge = true;
44888+
}
4488544889
else if (/Chrome\/(\d+)/.test(ua) && !device.windowsPhone)
4488644890
{
4488744891
device.chrome = true;
@@ -44929,10 +44933,6 @@ Phaser.Device._initialize = function () {
4492944933
device.tridentVersion = parseInt(RegExp.$1, 10);
4493044934
device.ieVersion = parseInt(RegExp.$3, 10);
4493144935
}
44932-
else if (/Edge\/\d+/.test(ua))
44933-
{
44934-
device.edge = true;
44935-
}
4493644936

4493744937
// Silk gets its own if clause because its ua also contains 'Safari'
4493844938
if (/Silk/.test(ua))

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: 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-minimum.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:26:05
10+
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:36:56
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -31403,6 +31403,10 @@ Phaser.Device._initialize = function () {
3140331403
{
3140431404
device.arora = true;
3140531405
}
31406+
else if (/Edge\/\d+/.test(ua))
31407+
{
31408+
device.edge = true;
31409+
}
3140631410
else if (/Chrome\/(\d+)/.test(ua) && !device.windowsPhone)
3140731411
{
3140831412
device.chrome = true;
@@ -31450,10 +31454,6 @@ Phaser.Device._initialize = function () {
3145031454
device.tridentVersion = parseInt(RegExp.$1, 10);
3145131455
device.ieVersion = parseInt(RegExp.$3, 10);
3145231456
}
31453-
else if (/Edge\/\d+/.test(ua))
31454-
{
31455-
device.edge = true;
31456-
}
3145731457

3145831458
// Silk gets its own if clause because its ua also contains 'Safari'
3145931459
if (/Silk/.test(ua))

build/custom/phaser-minimum.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-minimum.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-no-physics.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:25:57
10+
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:36:48
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -44882,6 +44882,10 @@ Phaser.Device._initialize = function () {
4488244882
{
4488344883
device.arora = true;
4488444884
}
44885+
else if (/Edge\/\d+/.test(ua))
44886+
{
44887+
device.edge = true;
44888+
}
4488544889
else if (/Chrome\/(\d+)/.test(ua) && !device.windowsPhone)
4488644890
{
4488744891
device.chrome = true;
@@ -44929,10 +44933,6 @@ Phaser.Device._initialize = function () {
4492944933
device.tridentVersion = parseInt(RegExp.$1, 10);
4493044934
device.ieVersion = parseInt(RegExp.$3, 10);
4493144935
}
44932-
else if (/Edge\/\d+/.test(ua))
44933-
{
44934-
device.edge = true;
44935-
}
4493644936

4493744937
// Silk gets its own if clause because its ua also contains 'Safari'
4493844938
if (/Silk/.test(ua))

build/custom/phaser-no-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-no-physics.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-split.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:26:12
10+
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:37:04
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -35819,6 +35819,10 @@ Phaser.Device._initialize = function () {
3581935819
{
3582035820
device.arora = true;
3582135821
}
35822+
else if (/Edge\/\d+/.test(ua))
35823+
{
35824+
device.edge = true;
35825+
}
3582235826
else if (/Chrome\/(\d+)/.test(ua) && !device.windowsPhone)
3582335827
{
3582435828
device.chrome = true;
@@ -35866,10 +35870,6 @@ Phaser.Device._initialize = function () {
3586635870
device.tridentVersion = parseInt(RegExp.$1, 10);
3586735871
device.ieVersion = parseInt(RegExp.$3, 10);
3586835872
}
35869-
else if (/Edge\/\d+/.test(ua))
35870-
{
35871-
device.edge = true;
35872-
}
3587335873

3587435874
// Silk gets its own if clause because its ua also contains 'Safari'
3587535875
if (/Silk/.test(ua))

0 commit comments

Comments
 (0)