Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix($$rAF): always fallback to a $timeout incase native rAF isn't supported #6691

Closed
wants to merge 1 commit into from

Conversation

matsko
Copy link
Contributor

@matsko matsko commented Mar 14, 2014

No description provided.

@mary-poppins
Copy link

Thanks for the PR! Please check the items below to help us merge this faster. See the contributing docs for more information.

  • Uses the issue template (#6691)

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

cancelAnimationFrame(id);
};
};
var supported = !!requestAnimationFrame;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you call it rafSupported?

@IgorMinar
Copy link
Contributor

lgtm otherwise

@matsko
Copy link
Contributor Author

matsko commented Mar 14, 2014

MERGED

@matsko
Copy link
Contributor Author

matsko commented Mar 14, 2014

Landed as 7b5e019

@matsko matsko closed this Mar 15, 2014
@matsko matsko deleted the fix_raf branch March 15, 2014 17:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants