From d4d8fa49c689cff88c6a25766dfb0af39296794c Mon Sep 17 00:00:00 2001 From: Hannan Ali Date: Fri, 24 Nov 2017 09:20:37 +0500 Subject: [PATCH] remove requestAnimationFrame polyfill attempt --- src/animationframes.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/animationframes.js b/src/animationframes.js index 62a830b..a05e142 100644 --- a/src/animationframes.js +++ b/src/animationframes.js @@ -77,7 +77,3 @@ export const frames = (delay, duration) => { }; return self; }; - -window.requestAnimationFrame || (window.requestAnimationFrame = (cb) => { - setTimeout(cb, 0); -});