浏览代码

remove msie1x detection - not needed

Robin Herbots 11 年之前
父节点
当前提交
3ff5c1ed5d

文件差异内容过多而无法显示
+ 1 - 2
dist/inputmask/jquery.inputmask.js


文件差异内容过多而无法显示
+ 1 - 2
dist/jquery.inputmask.bundle.js


文件差异内容过多而无法显示
+ 2 - 2
dist/jquery.inputmask.bundle.min.js


+ 1 - 2
js/jquery.inputmask.js

@@ -308,8 +308,7 @@
             return ms;
         }
 
-        var msie1x = typeof ScriptEngineMajorVersion === "function" ? ScriptEngineMajorVersion() >= 10 : /*@cc_on (@_jscript_version >= 10) ||@*/false, //IEx detection
-            ua = navigator.userAgent,
+        var ua = navigator.userAgent,
             iphone = ua.match(new RegExp("iphone", "i")) !== null,
             android = ua.match(new RegExp("android.*safari.*", "i")) !== null,
             androidchrome = ua.match(new RegExp("android.*chrome.*", "i")) !== null,