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

fix(mc-scripts): use unfetch as polyfill #278

Merged
merged 2 commits into from
Jan 13, 2019
Merged

Conversation

tdeekens
Copy link
Contributor

Summary

This pull request re-adds the usage or unfetch as a polyfill. More in the code comment and in app PRs.

Copy link
Member

@emmenko emmenko left a comment

Choose a reason for hiding this comment

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

I see, good catch! 👌

@@ -1,5 +1,17 @@
/* eslint-disable global-require */

/**
* NOTE:
* `unfetch` with version 4 sarted to work as a ponyfil.
Copy link
Contributor

Choose a reason for hiding this comment

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

ponyfill 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Essentially by importing you always get the library (never the built-in) as a benefit of never overwriting it.

Copy link
Contributor

Choose a reason for hiding this comment

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

if you ever read the outsiders in high school english class, there would be no way of reading this without thinking of that 😆

@tdeekens tdeekens force-pushed the fix/unfetch-as-polyfill branch from e8d4e18 to eb9d15b Compare January 13, 2019 16:36
@tdeekens tdeekens force-pushed the fix/unfetch-as-polyfill branch from eb9d15b to 92ee5bd Compare January 13, 2019 16:48
@tdeekens tdeekens merged commit bc182a8 into master Jan 13, 2019
@tdeekens tdeekens deleted the fix/unfetch-as-polyfill branch January 13, 2019 16:58
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.

3 participants