Browse Source

无JRIA : IE9

es6
dailer 3 years ago
parent
commit
b02dbd4aef
  1. 2
      src/core/8.snabdom.js

2
src/core/8.snabdom.js

@ -929,7 +929,7 @@
var propsModule = { create: updateProps, update: updateProps }; var propsModule = { create: updateProps, update: updateProps };
// Bindig `requestAnimationFrame` like this fixes a bug in IE/Edge. See #360 and #409. // 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) { var nextFrame$1 = function nextFrame$1(fn) {
raf$1(function () { raf$1(function () {
raf$1(fn); raf$1(fn);

Loading…
Cancel
Save