Nth Permutation Mathematics
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

requestanimationframe

0.0.23 • Public • Published

requestAnimationFrame

Introduction

requestAnimationFrame polyfill by Paul Irish & Erik Möller.
This is just a AMD-modularized bower-ready fork.

Install

With bower:

bower install requestAnimationFrame

With src="requestAnimationFrame.js"

Inlude app/requestAnimationFrame.js into your html page

<script src="[path_to_source]/requestAnimationFrame.js>"></script> 

Use

This is a polyfill, just use requestAnimationFrame as you would have.

With amd

Point requestAnimationFrame to [bower_components_path]/requestAnimationFrame/app/requestAnimationFrame.js into your requirejs path config and load it with requirejs:

require(['requestAnimationFrame'], function( requestAnimationFrame ){
 
})

Authors

License

MIT License

Keywords

none

install

npm i requestanimationframe

Downloadsweekly downloads

973

version

0.0.23

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability