1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/zrender/lib/animation/requestAnimationFrame.js

6 lines
424 B
JavaScript
Raw Permalink Normal View History

2023-12-18 13:12:25 +08:00
var _default = typeof window !== 'undefined' && (window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || // https://github.com/ecomfe/zrender/issues/189#issuecomment-224919809
window.msRequestAnimationFrame && window.msRequestAnimationFrame.bind(window) || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame) || function (func) {
setTimeout(func, 16);
};
module.exports = _default;