bernii/gauge.js

window.requestAnimationFrame misspell

Opened this issue · 1 comments

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

Strictly speaking you are correct, I guess. Luckily most browsers don't care and have requestAnimationFrame() exposed also on the global level.