window.requestAnimationFrame misspell
Opened this issue · 1 comments
ricardosaumeth commented
Hi there.
If you unminify the file, on line 22 inside the for loop, the word ** window ** is missing
t = null, s = 0, i = {}, ** requestAnimationFrame** ? window.cancelAnimationFrame
it should be t = null, s = 0, i = {}, ** window.requestAnimationFrame ** ? window.cancelAnimationFrame
Thanks
kplindegaard commented
Strictly speaking you are correct, I guess. Luckily most browsers don't care and have requestAnimationFrame() exposed also on the global level.