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