Create a gist now

Instantly share code, notes, and snippets.

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

Embed
[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');
@ikekou

This comment has been minimized.

Show comment
Hide comment
@ikekou

ikekou Mar 25, 2015

jQueryで破棄されたrequestAnimationFrameとJSでのアニメーション実装で注意すること http://0-9.sakura.ne.jp/pub/lt/modest/start.html

Owner

ikekou commented Mar 25, 2015

jQueryで破棄されたrequestAnimationFrameとJSでのアニメーション実装で注意すること http://0-9.sakura.ne.jp/pub/lt/modest/start.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment