JSPM

raf.js

0.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 960
  • Score
    100M100P100Q106205F
  • License MIT

Yet another requestAnimationFrame polyfill.

Package Exports

  • raf.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (raf.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

raf.js Version Size

Yet another requestAnimationFrame polyfill:

  • really tiny: 361 bytes minified and 242 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.