Browse Source

兼容IE8

es6
fay 7 years ago
parent
commit
9f54bd5f6d
  1. 12
      dist/_fineui.min.js
  2. 38
      dist/bundle.min.js
  3. 6
      dist/fineui.js
  4. 12
      dist/fineui.min.js
  5. 6
      dist/polyfill.js
  6. 6
      src/polyfill/lodash.js

12
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

38
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

6
dist/fineui.js vendored

@ -196,6 +196,12 @@ if (typeof Object.getPrototypeOf !== "function") {
// May break if the constructor has been tampered with // May break if the constructor has been tampered with
return object.constructor.prototype; return object.constructor.prototype;
}; };
}
if(!Date.now) {
Date.now = function () {
return new Date().valueOf();
};
}if (typeof Set !== "undefined" && Set.toString().match(/native code/)) { }if (typeof Set !== "undefined" && Set.toString().match(/native code/)) {
} else { } else {

12
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

6
dist/polyfill.js vendored

@ -196,6 +196,12 @@ if (typeof Object.getPrototypeOf !== "function") {
// May break if the constructor has been tampered with // May break if the constructor has been tampered with
return object.constructor.prototype; return object.constructor.prototype;
}; };
}
if(!Date.now) {
Date.now = function () {
return new Date().valueOf();
};
}if (typeof Set !== "undefined" && Set.toString().match(/native code/)) { }if (typeof Set !== "undefined" && Set.toString().match(/native code/)) {
} else { } else {

6
src/polyfill/lodash.js

@ -41,3 +41,9 @@ if (typeof Object.getPrototypeOf !== "function") {
return object.constructor.prototype; return object.constructor.prototype;
}; };
} }
if(!Date.now) {
Date.now = function () {
return new Date().valueOf();
};
}
Loading…
Cancel
Save