All Projects → darius → Requestanimationframe

darius / Requestanimationframe

Licence: mit
Polyfill for requestAnimationFrame/cancelAnimationFrame

Programming Languages

javascript
184084 projects - #8 most used programming language

requestAnimationFrame

requestAnimationFrame polyfill by Erik Möller.

Polyfill for requestAnimationFrame and cancelAnimationFrame. That is, load the included .js file to make those functions work (more or less) even on older systems that do not natively supply them.

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.

Credits

Fixes from Paul Irish, Tino Zijdel, Andrew Mao, Klemen Slavič, Darius Bacon

Adapted from https://gist.github.com/paulirish/1579671 which is derived from:

To do

Support

Supported browsers

Contributing

Pull requests welcome. Please respect the code style in place.

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].