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

support customElements.define in Chrome #5

Merged
merged 2 commits into from
Feb 15, 2023
Merged

Conversation

baruchiro
Copy link
Collaborator

@baruchiro baruchiro commented Feb 14, 2023

Even before using our WebComponent, when the custom-elements.js loaded as a content script, in Chrome we get an error about customElements.define being null.

From StackOverflow, we just need to add this polyfill, and it works.

@github-actions
Copy link

New dependencies

@webcomponents/custom-elements

DescriptionHTML Custom Elements Polyfill
AuthorThe Polymer Project Authors
LicenseBSD-3-Clause
Snyk Advisor Score

@jossef jossef merged commit 4c1ea2d into master Feb 15, 2023
@jossef jossef deleted the webcomponents-chrome branch February 15, 2023 08:30
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.

2 participants