From b02dbd4aef5a6a9352faa2a7b413f9996beb8391 Mon Sep 17 00:00:00 2001 From: dailer Date: Wed, 21 Jul 2021 10:21:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JRIA=20:=20IE9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/8.snabdom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/8.snabdom.js b/src/core/8.snabdom.js index f16d8355d..4965fcad5 100644 --- a/src/core/8.snabdom.js +++ b/src/core/8.snabdom.js @@ -929,7 +929,7 @@ var propsModule = { create: updateProps, update: updateProps }; // Bindig `requestAnimationFrame` like this fixes a bug in IE/Edge. See #360 and #409. - var raf$1 = typeof window !== "undefined" && window.requestAnimationFrame.bind(window) || setTimeout; + var raf$1 = typeof window !== "undefined" && (window.requestAnimationFrame && window.requestAnimationFrame.bind(window)) || setTimeout; var nextFrame$1 = function nextFrame$1(fn) { raf$1(function () { raf$1(fn);