From 3b7d1761eec65abeb669d58b5f176b289ed72396 Mon Sep 17 00:00:00 2001 From: danzel Date: Thu, 12 Jul 2012 16:09:48 +1200 Subject: [PATCH] JSHint happiness. --- src/core/Browser.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/Browser.js b/src/core/Browser.js index 74c6914c..4906578d 100644 --- a/src/core/Browser.js +++ b/src/core/Browser.js @@ -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; }());