if (!global.requestAnimationFrame) {
  global.requestAnimationFrame = function(callback) {
    setTimeout(callback, 0);
  };
}

if (!global.requestAnimationFrame) {
  global.requestAnimationFrame = function requestAnimationFrame(callback) {
    setTimeout(callback, 0);
  };
}

Fix unnamed function ESLint warning
Fix unnamed function ESLint warning
