Merge pull request #797 from danzel/master
Fix JSHint issues with my last pull
This commit is contained in:
commit
2a7e49bfe3
@ -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;
|
||||
}());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user