You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Possible bug in core.helpers.cancelAnimFrame #3570
After trying to quickly port your project to Typescript to see if I could generate a dts definition file (there are a few but they seem out of date), Typescript pointed to line 692 of core.helpers.js
return window.clearTimeout(callback, 1000 / 60);
clearTimeout doesn't support passing a callback.
Thanks,
John
p.s. Would there be any interest in moving to Typescript (plugins could still be vanilla js etc)?
It seems that this method is never called (can't find any references). You right, the code is not correct but I don't think there is any bug here: callback is the request id and 1000/60 is simply ignored. We should cleanup that code though.
Activity
simonbrunel commentedon Nov 8, 2016
It seems that this method is never called (can't find any references). You right, the code is not correct but I don't think there is any bug here:
callbackis the request id and1000/60is simply ignored. We should cleanup that code though.