mirror of
https://github.com/photonstorm/phaser
synced 2024-11-30 16:39:34 +00:00
Fixed for jshint.
This commit is contained in:
parent
f64fc42f3e
commit
389b6dd1aa
1 changed files with 1 additions and 1 deletions
|
@ -664,7 +664,7 @@ Phaser.Device._initialize = function () {
|
||||||
else if (/iP[ao]d|iPhone/i.test(ua))
|
else if (/iP[ao]d|iPhone/i.test(ua))
|
||||||
{
|
{
|
||||||
device.iOS = true;
|
device.iOS = true;
|
||||||
var v = (navigator.appVersion).match(/OS (\d+)/);
|
(navigator.appVersion).match(/OS (\d+)/);
|
||||||
device.iOSVersion = parseInt(RegExp.$1, 10);
|
device.iOSVersion = parseInt(RegExp.$1, 10);
|
||||||
}
|
}
|
||||||
else if (/Linux/.test(ua))
|
else if (/Linux/.test(ua))
|
||||||
|
|
Loading…
Reference in a new issue