rmartin / raf.js

Request Animation Frame polyfill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

raf.js Version Size

Yet another requestAnimationFrame polyfill:

  • really tiny: 360 bytes minified and 231 gzipped.

Install

Bower Jam npm
bower install raf.js jam install raf npm install raf.js

Release History

v0.0.4
 - IE8 compatibility, (#6).

v0.0.3
 - removed unecessary cast on `Date.now` (#1).
 - export to `cancelAnimationFrame` instead of `cancelRequestAnimationFrame` (#2).

Credits

Paul's Irish gist.

About

Request Animation Frame polyfill

License:MIT License