Fixed for jshint.

This commit is contained in:
photonstorm 2015-09-22 12:07:14 +01:00
parent f64fc42f3e
commit 389b6dd1aa

View file

@ -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))