diff options
Diffstat (limited to 'src/helpers.js')
-rw-r--r-- | src/helpers.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/helpers.js b/src/helpers.js index c63c215..f3f8f26 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -120,12 +120,3 @@ function idFromReference(url) { if (m) return m[1] } - -// Shim layer with setTimeout fallback by Paul Irish -window.requestAnimFrame = (function(){ - return window.requestAnimationFrame || - window.webkitRequestAnimationFrame || - window.mozRequestAnimationFrame || - window.msRequestAnimationFrame || - function (c) { window.setTimeout(c, 1000 / 60) } -})()
\ No newline at end of file |