requestAnimationFrame polyfill by Paul Irish & Erik Möller.
This is just a AMD-modularized bower-ready fork.
bower install requestAnimationFrame
Inlude app/requestAnimationFrame.js into your html page
This is a polyfill, just use requestAnimationFrame as you would have.
[bower_components_path]/requestAnimationFrame/app/requestAnimationFrame.js into your requirejs path config
and load it with requirejs:
- [Erik Möller]
- [Paul Irish]
- Cyril Agosta