Commit 6e17ce08 authored by Boris Kocherov's avatar Boris Kocherov

erp5_web_renderjs_ui: use native promise as queue manager

parent c3ab37b4
...@@ -217,10 +217,10 @@ define("rsvp/async", ...@@ -217,10 +217,10 @@ define("rsvp/async",
async = useSetImmediate(); async = useSetImmediate();
} else if (typeof process !== 'undefined' && {}.toString.call(process) === '[object process]') { } else if (typeof process !== 'undefined' && {}.toString.call(process) === '[object process]') {
async = useNextTick(); async = useNextTick();
} else if (BrowserMutationObserver) {
async = useMutationObserver();
} else if (checkNativePromise()) { } else if (checkNativePromise()) {
async = useNativePromise(); async = useNativePromise();
} else if (BrowserMutationObserver) {
async = useMutationObserver();
} else { } else {
async = useSetTimeout(); async = useSetTimeout();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment