Merge pull request #797 from danzel/master

Fix JSHint issues with my last pull
This commit is contained in:
Vladimir Agafonkin 2012-07-12 00:18:59 -07:00
commit 2a7e49bfe3

View File

@ -41,9 +41,10 @@
return supported;
}()),
ieversion = ie && (function () {
var re = new RegExp("msie ([0-9]{1,}[\.0-9]{0,})");
if (re.exec(ua) != null)
var re = new RegExp("msie ([0-9]{1,}[\\.0-9]{0,})");
if (re.exec(ua) !== null) {
return parseFloat(RegExp.$1);
}
return null;
}());