No commit activity in last 3 years
No release in over 3 years
requestAnimationFrame polyfill packaged for the Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

requestanimationframe_polyfill-rails

requestAnimationFrame polyfill packaged for the Rails asset pipeline.

Usage

Add the gem to your Gemfile:

gem 'requestanimationframe_polyfill-rails'

Load the library within an asset manifest such as application.js:

//= require requestanimationframe_polyfill-rails/rAF.js

If you've included the gem in your Gemfile, Bundler will generally take care of requireing the necessary files, but if for some reason you need to manually require the gem:

require 'requestanimationframe_polyfill/rails'

Versioning

requestAnimationFrame polyfill is published as a Gist and therefore does not have versioned releases.

The following table indicates which version of the JS file (indicated by Gist revision ID) is included with each version of the gem.

Gem Version Gist Revision ID
1.0.0 682e5c8