Browse Source

无JIRA 删掉无用的getTime方法,重复了

es6
zsmj 2 years ago
parent
commit
774d66c196
  1. 14
      src/core/2.base.js

14
src/core/2.base.js

@ -735,20 +735,6 @@
BI[name] = _apply(name);
});
_.extend(BI, {
getTime: function () {
if (_global.performance && _global.performance.now) {
return _global.performance.now();
}
if (_global.performance && _global.performance.webkitNow) {
return _global.performance.webkitNow();
}
if (Date.now) {
return Date.now();
}
return BI.getDate().getTime();
},
parseInt: function (number) {
var radix = 10;

Loading…
Cancel
Save