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