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

Add raf.polyfillObject #35

Merged
merged 2 commits into from
Oct 2, 2017
Merged

Add raf.polyfillObject #35

merged 2 commits into from
Oct 2, 2017

Conversation

SimenB
Copy link
Contributor

@SimenB SimenB commented Sep 30, 2017

This makes it easier to add the polyfills from outside of the context.

EDIT: This is probably too naive as the implementation does some checks against root which I'd want to be different in my case. Can split it into two files so that I can inject my own global I suppose. WDYT?

Copy link
Contributor

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

It seems like it'd be simpler to make the polyfill function take an optional object instead?

@SimenB
Copy link
Contributor Author

SimenB commented Sep 30, 2017

It seems like it'd be simpler to make the polyfill function take an optional object instead?

I had that at first, but didn't want to overload the method. Can do that instead though if maintainers don't mind 🙂

@SimenB
Copy link
Contributor Author

SimenB commented Sep 30, 2017

Changed it to be just the polyfill method.

Copy link
Contributor

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

LGTM

@chrisdickinson
Copy link
Owner

Awesome, thanks for the contribution!

@chrisdickinson chrisdickinson merged commit ac4ec73 into chrisdickinson:master Oct 2, 2017
@chrisdickinson
Copy link
Owner

Published as v3.4.0.

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

Successfully merging this pull request may close these issues.

None yet

3 participants