Browse Source

Pull request #2033: 无JRIA : IE9

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit 'b02dbd4aef5a6a9352faa2a7b413f9996beb8391':
  无JRIA : IE9
es6
guy 3 years ago
parent
commit
6e6d549c47
  1. 2
      src/core/8.snabdom.js

2
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);

Loading…
Cancel
Save