Browse Source

无JIRA任务 不判断IE

es6
windy 5 years ago
parent
commit
0c3aad521c
  1. 2
      src/core/base.js

2
src/core/base.js

@ -690,7 +690,7 @@ if (!_global.BI) {
timerFunc = function timerFunc() { timerFunc = function timerFunc() {
p.then(nextTickHandler); p.then(nextTickHandler);
}; };
} else if (!BI.isIE() && typeof MutationObserver !== "undefined") { } else if (typeof MutationObserver !== "undefined") {
var counter = 1; var counter = 1;
var observer = new MutationObserver(nextTickHandler); var observer = new MutationObserver(nextTickHandler);
var textNode = document.createTextNode(String(counter)); var textNode = document.createTextNode(String(counter));

Loading…
Cancel
Save