Skip to content

Instantly share code, notes, and snippets.

View odahcam's full-sized avatar

Luiz Machado odahcam

View GitHub Profile
@odahcam
odahcam / raf.js
Last active August 24, 2016 12:13 — forked from rwaldron/raf.js
requestAnimationFrame, browser prefix detection
var rAF = "equestAnimationFrame";
window["r"+rAF] = window["r"+rAF] ||
window["webkitR"+rAF] ||
window["mozR"+rAF] ||
window["msR"+rAF] ||
window["oR"+rAF];
// A list