requestAnimationFrame polyfill by Erik Möller.
Polyfill for requestAnimationFrame and cancelAnimationFrame.
This is a fork from Erik Möller's repository in order to get Bower support.
This version of the code is only lightly tested. It's provoked no complaints since the initial checkin of 2013-9-16, but it hasn't been deliberately tested on a zillion targets either.
Fixes from Paul Irish, Tino Zijdel, Andrew Mao, Klemen Slavič, Darius Bacon
Adapted from https://gist.github.com/paulirish/1579671 which is derived from:
- http://paulirish.com/2011/requestanimationframe-for-smart-animating/
- http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
- Incorporate improvements from:
Pull requests welcome. Please respect the Nexxa's code style.
MIT License