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

Fetch polyfill #312

Merged
merged 5 commits into from
Dec 4, 2024
Merged

Fetch polyfill #312

merged 5 commits into from
Dec 4, 2024

Conversation

krichprollsch
Copy link
Member

No description provided.

@krichprollsch krichprollsch marked this pull request as ready for review November 28, 2024 16:50
@krichprollsch krichprollsch self-assigned this Nov 28, 2024
@krichprollsch krichprollsch force-pushed the fetch-polyfill branch 2 times, most recently from 8dc07f5 to 6757fba Compare November 29, 2024 14:23
@krichprollsch
Copy link
Member Author

follow-up: #319

// wget $(npm view whatwg-fetch dist.tarball)
//
// The source is the content of `package/dist/fetch.umd.js` file.
pub const source =
Copy link
Member

Choose a reason for hiding this comment

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

What about commit the js file directly and use the directive @embedFile?

Copy link
Member

Choose a reason for hiding this comment

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

It will be easier to read and modify if needed.

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't know @embedFile, ty 🙏
It's much better to keep a separated pure js file.

@@ -0,0 +1,10 @@
<script>
Copy link
Member

Choose a reason for hiding this comment

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

Where is this test is played?

Copy link
Member Author

Choose a reason for hiding this comment

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

I used the file for manual tests. Removed now.

@francisbouvier francisbouvier merged commit c787b6a into main Dec 4, 2024
8 checks passed
@francisbouvier francisbouvier deleted the fetch-polyfill branch December 4, 2024 14:57
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants