Skip to content

DanielDornhardt/requestAnimationFrame

 
 

Repository files navigation

requestAnimationFrame

requestAnimationFrame polyfill by Erik Möller.

Wrapped for meteor.js by Daniel Dornhardt

Original repository: https://github.com/darius/requestAnimationFrame


To Install:

meteor add yagni:request-animation-frame

Note: I made the least number of changes possible to the source repo. Because of that the code just adds the polyfill to the global window object instead of the variable being exported for now.


Polyfill for requestAnimationFrame and cancelAnimationFrame.

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

About

Polyfill for requestAnimationFrame/cancelAnimationFrame

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.6%
  • Shell 3.4%