You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

requestanimationframe

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

requestanimationframe

requestAnimationFrame AMD-ready, bower-ready polyfill fork.

0.0.23
latest
Source
npmnpm
Version published
Weekly downloads
4.6K
6.99%
Maintainers
1
Weekly downloads
 
Created
Source

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

  • [Erik Möller]
  • [Paul Irish]
  • Cyril Agosta

License

MIT License

FAQs

Package last updated on 03 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.