Open kof opened 10 years ago
+1
+1
It's also worth noticing that current polyfill is not complete: it does not provide a polyfill for cancelAnimationFrame
.
It causes a bug with Famou.us/Angular on devices not supporting raf: AngularJS thinks they support it because of this polyfill and it tries to execute cancelAnimation which is not defined, throwing the error undefined is not a function.
Here is a much better one, just for you https://github.com/kof/animation-frame