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

Removing requestAnimationFrame polyfill now we've dropped IE9. #4131

Merged
merged 1 commit into from
Feb 17, 2016

Conversation

sgomes
Copy link
Contributor

@sgomes sgomes commented Feb 16, 2016

@surma or @Garbee: PTAL!

@sgomes
Copy link
Contributor Author

sgomes commented Feb 16, 2016

One sec, investigating build breakage.

@sgomes
Copy link
Contributor Author

sgomes commented Feb 16, 2016

Looks like node doesn't support requestAnimationFrame and so the JS tests fail. Added a tiny shim for testing only.

@sgomes
Copy link
Contributor Author

sgomes commented Feb 16, 2016

Good to review now :)

@@ -86,7 +86,7 @@ function init() {
mc.template = this.responseText;
mc.highlightField('Indigo');
mc.highlightField('Pink');
window.requestAnimationFrame(function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

It's still a function from window, no reason to remove that ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's true, this was a bit of an offtopic cleanup :)

@Garbee
Copy link
Collaborator

Garbee commented Feb 16, 2016

LGTM

+1 on dropping the window call. It isn't providing any benefit.

@tleunen
Copy link
Contributor

tleunen commented Feb 16, 2016

It helps to know where it comes from :) And also prevent having an exception in file linting

@sgomes
Copy link
Contributor Author

sgomes commented Feb 17, 2016

Thanks, @Garbee!

sgomes added a commit that referenced this pull request Feb 17, 2016
Removing requestAnimationFrame polyfill now we've dropped IE9.
@sgomes sgomes merged commit 90cd6ac into master Feb 17, 2016
@sgomes sgomes deleted the remove-raf branch February 17, 2016 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants