Browse Source

update

master
guy 7 years ago
parent
commit
eb28be445b
  1. 7
      dist/fix/fix.js

7
dist/fix/fix.js vendored

@ -23,6 +23,11 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var hasProto = '__proto__' in {};
var isIE = function isIE() {
return (/(msie|trident)/i.test(navigator.userAgent.toLowerCase())
);
};
var getIEVersion = function getIEVersion() {
var version = 0;
var agent = navigator.userAgent.toLowerCase();
@ -39,7 +44,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}
return version;
};
var isIE9Below = getIEVersion() < 9;
var isIE9Below = isIE() && getIEVersion() < 9;
var _toString = Object.prototype.toString;

Loading…
Cancel
Save