Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • npm
  • Socket score

Version published
Weekly downloads
2.5K
increased by6.78%
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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc