diff --git a/src/utils.js b/src/utils.js index 1c196c9..32222f0 100644 --- a/src/utils.js +++ b/src/utils.js @@ -90,14 +90,7 @@ export function nextTick(fn, context = null) { const out = fn.apply(context, args); resolve(out); }; - - if (window.setImmediate) { - setImmediate(execute); - } else if (window.requestAnimationFrame) { - requestAnimationFrame(execute); - } else { - setTimeout(execute); - } + setTimeout(execute); }); }; };