diff --git a/src/requestAnimationFramePolyfill.ts b/src/requestAnimationFramePolyfill.ts index c20c5d5..4550dfd 100644 --- a/src/requestAnimationFramePolyfill.ts +++ b/src/requestAnimationFramePolyfill.ts @@ -1,4 +1,3 @@ -import emptyFunction from './utils/emptyFunction'; import getGlobal from './utils/getGlobal'; const g = getGlobal(); @@ -18,7 +17,4 @@ function _setTimeout(callback: (t: number) => void) { */ const requestAnimationFramePolyfill = g.requestAnimationFrame || _setTimeout; -// Works around a rare bug in Safari 6 where the first request is never invoked. -requestAnimationFramePolyfill(emptyFunction); - export default requestAnimationFramePolyfill;