Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raf shim #1

Open
kof opened this issue Apr 11, 2014 · 2 comments
Open

raf shim #1

kof opened this issue Apr 11, 2014 · 2 comments

Comments

@kof
Copy link

kof commented Apr 11, 2014

Here is a much better one, just for you https://github.com/kof/animation-frame

@IjzerenHein
Copy link

+1

@adrien-gueret
Copy link

+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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants