Closed ismyrnow closed 8 years ago
This could solve issue #2, particularly when running integration tests, which uses PhantomJS (which in version 1.9, doesn't have requestAnimationFrame
).
Thanks!
@ismyrnow also, I probably didn't notice because I now use the babel-polyfill for all phantom 1.9 stuff, would recommend :P
Currently, this module breaks
setTimeout
calls in browsers that don't haverequestAnimationFrame
.For browsers without
requestAnimationFrame
, the replacement, which callssetTimeout
, wasn't calling it with a function context, resulting inUncaught TypeError: Illegal invocation
in Chrome.