Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ngryman/raf.js
:runner: Request Animation Frame polyfill
https://github.com/ngryman/raf.js
Last synced: 21 days ago
JSON representation
:runner: Request Animation Frame polyfill
- Host: GitHub
- URL: https://github.com/ngryman/raf.js
- Owner: ngryman
- License: mit
- Created: 2013-07-01T19:48:48.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-11T18:12:47.000Z (over 7 years ago)
- Last Synced: 2024-10-09T13:39:49.783Z (25 days ago)
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 46
- Watchers: 4
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# raf.js [![Version](http://img.shields.io/badge/version-0.0.4-brightgreen.svg)](https://github.com/ngryman/jquery.finger#release-history) [![Size](http://img.shields.io/badge/size-0.25%20kB-blue.svg)](https://raw2.github.com/ngryman/raf.js/master/raf.min.js)
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](https://gist.github.com/paulirish/1579671).