mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
Fixed Edge device check.
This commit is contained in:
parent
34c484367c
commit
daea5f53ff
17 changed files with 40 additions and 40 deletions
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* Phaser - http://phaser.io
|
||||
*
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:25:48
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:36:39
|
||||
*
|
||||
* By Richard Davey http://www.photonstorm.com @photonstorm
|
||||
*
|
||||
|
@ -44882,6 +44882,10 @@ Phaser.Device._initialize = function () {
|
|||
{
|
||||
device.arora = true;
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
else if (/Chrome\/(\d+)/.test(ua) && !device.windowsPhone)
|
||||
{
|
||||
device.chrome = true;
|
||||
|
@ -44929,10 +44933,6 @@ Phaser.Device._initialize = function () {
|
|||
device.tridentVersion = parseInt(RegExp.$1, 10);
|
||||
device.ieVersion = parseInt(RegExp.$3, 10);
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
|
||||
// Silk gets its own if clause because its ua also contains 'Safari'
|
||||
if (/Silk/.test(ua))
|
||||
|
|
File diff suppressed because one or more lines are too long
2
build/custom/phaser-arcade-physics.min.js
vendored
2
build/custom/phaser-arcade-physics.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* Phaser - http://phaser.io
|
||||
*
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:26:05
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:36:56
|
||||
*
|
||||
* By Richard Davey http://www.photonstorm.com @photonstorm
|
||||
*
|
||||
|
@ -31403,6 +31403,10 @@ Phaser.Device._initialize = function () {
|
|||
{
|
||||
device.arora = true;
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
else if (/Chrome\/(\d+)/.test(ua) && !device.windowsPhone)
|
||||
{
|
||||
device.chrome = true;
|
||||
|
@ -31450,10 +31454,6 @@ Phaser.Device._initialize = function () {
|
|||
device.tridentVersion = parseInt(RegExp.$1, 10);
|
||||
device.ieVersion = parseInt(RegExp.$3, 10);
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
|
||||
// Silk gets its own if clause because its ua also contains 'Safari'
|
||||
if (/Silk/.test(ua))
|
||||
|
|
File diff suppressed because one or more lines are too long
2
build/custom/phaser-minimum.min.js
vendored
2
build/custom/phaser-minimum.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* Phaser - http://phaser.io
|
||||
*
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:25:57
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:36:48
|
||||
*
|
||||
* By Richard Davey http://www.photonstorm.com @photonstorm
|
||||
*
|
||||
|
@ -44882,6 +44882,10 @@ Phaser.Device._initialize = function () {
|
|||
{
|
||||
device.arora = true;
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
else if (/Chrome\/(\d+)/.test(ua) && !device.windowsPhone)
|
||||
{
|
||||
device.chrome = true;
|
||||
|
@ -44929,10 +44933,6 @@ Phaser.Device._initialize = function () {
|
|||
device.tridentVersion = parseInt(RegExp.$1, 10);
|
||||
device.ieVersion = parseInt(RegExp.$3, 10);
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
|
||||
// Silk gets its own if clause because its ua also contains 'Safari'
|
||||
if (/Silk/.test(ua))
|
||||
|
|
File diff suppressed because one or more lines are too long
2
build/custom/phaser-no-physics.min.js
vendored
2
build/custom/phaser-no-physics.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* Phaser - http://phaser.io
|
||||
*
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:26:12
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:37:04
|
||||
*
|
||||
* By Richard Davey http://www.photonstorm.com @photonstorm
|
||||
*
|
||||
|
@ -35819,6 +35819,10 @@ Phaser.Device._initialize = function () {
|
|||
{
|
||||
device.arora = true;
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
else if (/Chrome\/(\d+)/.test(ua) && !device.windowsPhone)
|
||||
{
|
||||
device.chrome = true;
|
||||
|
@ -35866,10 +35870,6 @@ Phaser.Device._initialize = function () {
|
|||
device.tridentVersion = parseInt(RegExp.$1, 10);
|
||||
device.ieVersion = parseInt(RegExp.$3, 10);
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
|
||||
// Silk gets its own if clause because its ua also contains 'Safari'
|
||||
if (/Silk/.test(ua))
|
||||
|
|
File diff suppressed because one or more lines are too long
2
build/custom/phaser-split.min.js
vendored
2
build/custom/phaser-split.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* Phaser - http://phaser.io
|
||||
*
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:26:11
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:37:03
|
||||
*
|
||||
* By Richard Davey http://www.photonstorm.com @photonstorm
|
||||
*
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* Phaser - http://phaser.io
|
||||
*
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:25:37
|
||||
* v2.4.5 "Sienda" - Built: Wed Feb 17 2016 13:36:26
|
||||
*
|
||||
* By Richard Davey http://www.photonstorm.com @photonstorm
|
||||
*
|
||||
|
@ -58495,6 +58495,10 @@ Phaser.Device._initialize = function () {
|
|||
{
|
||||
device.arora = true;
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
else if (/Chrome\/(\d+)/.test(ua) && !device.windowsPhone)
|
||||
{
|
||||
device.chrome = true;
|
||||
|
@ -58542,10 +58546,6 @@ Phaser.Device._initialize = function () {
|
|||
device.tridentVersion = parseInt(RegExp.$1, 10);
|
||||
device.ieVersion = parseInt(RegExp.$3, 10);
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
|
||||
// Silk gets its own if clause because its ua also contains 'Safari'
|
||||
if (/Silk/.test(ua))
|
||||
|
|
File diff suppressed because one or more lines are too long
2
build/phaser.min.js
vendored
2
build/phaser.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -883,6 +883,10 @@ Phaser.Device._initialize = function () {
|
|||
{
|
||||
device.arora = true;
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
else if (/Chrome\/(\d+)/.test(ua) && !device.windowsPhone)
|
||||
{
|
||||
device.chrome = true;
|
||||
|
@ -930,10 +934,6 @@ Phaser.Device._initialize = function () {
|
|||
device.tridentVersion = parseInt(RegExp.$1, 10);
|
||||
device.ieVersion = parseInt(RegExp.$3, 10);
|
||||
}
|
||||
else if (/Edge\/\d+/.test(ua))
|
||||
{
|
||||
device.edge = true;
|
||||
}
|
||||
|
||||
// Silk gets its own if clause because its ua also contains 'Safari'
|
||||
if (/Silk/.test(ua))
|
||||
|
|
Loading…
Reference in a new issue