We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d6f11 commit 1ec501eCopy full SHA for 1ec501e
src/platforms/web/runtime/transition-util.js
@@ -28,7 +28,10 @@ if (hasTransition) {
28
}
29
30
// binding to window is necessary to make hot reload work in IE in strict mode
31
-const raf = (inBrowser && window.requestAnimationFrame.bind(window)) || setTimeout
+const raf = inBrowser && window.requestAnimationFrame
32
+ ? window.requestAnimationFrame.bind(window)
33
+ : setTimeout
34
+
35
export function nextFrame (fn: Function) {
36
raf(() => {
37
raf(fn)
0 commit comments