Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.requestAnimFrame = (function(){
- return window.requestAnimationFrame ||
- window.webkitRequestAnimationFrame ||
- window.mozRequestAnimationFrame ||
- function( callback ){
- window.setTimeout(callback, 1000 / 60);
- };
- })();
Add Comment
Please, Sign In to add comment