Skip to content

Instantly share code, notes, and snippets.

@ikekou ikekou/sample.js
Last active Aug 29, 2015

What would you like to do?
[javascript] requestAnimationFrameのベンダプリフィクス対応のスニペット
(function (w, r) {
w['r'+r] = w['r'+r] || w['webkitR'+r] || w['mozR'+r] || w['msR'+r] || w['oR'+r] || function(c){ w.setTimeout(c, 1000 / 60); };
})(window, 'equestAnimationFrame');

This comment has been minimized.

Copy link
Owner Author

ikekou commented Mar 25, 2015


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.