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

Implement the Web Platform standard CustomEvent #1270

Merged
merged 1 commit into from
Oct 3, 2023
Merged

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Oct 3, 2023

CustomEvent is a Web platform standard API that is also supported by other WinterCG-compat runtimes (e.g., Node.js, Deno, etc). It is defined by DOM (https://dom.spec.whatwg.org/#interface-customevent) and is in fairly common use (https://github.com/search?type=code&q=new+CustomEvent+language%3AJavaScript&l=JavaScript). This PR just makes the API available for use within Workers.

@jasnell jasnell merged commit e51f3be into main Oct 3, 2023
7 checks passed
@jasnell jasnell deleted the jsnell/customevent branch October 3, 2023 21:04
Copy link
Collaborator

@irvinebroque irvinebroque left a comment

Choose a reason for hiding this comment

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

nice one — 🚀 docs pr & changelog 🙏

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.

3 participants