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] Move from document.registerElement to window.customElements.define #510

Closed
wants to merge 2 commits into from

Conversation

Spiker985
Copy link

Should fix #509

All tests passed, and project was linted before commit.
image
image

@Spiker985
Copy link
Author

@UziTech Would you mind looking at this? I would've pinged someone else, however, you did say that PRs were welcome 😅

@UziTech
Copy link
Member

UziTech commented Nov 28, 2022

Looks like some tests are failing in ci. Once those are passing I can merge this.

@Spiker985
Copy link
Author

I'll take a look, but my current assumption is because the original specs were using the new <element> syntax, and are now using a function which performs a similar action - that the specs are now incompatible

Even though those specs were updated alongside the methods

@Spiker985
Copy link
Author

I'm actually going to rescind this PR for now

@Spiker985 Spiker985 closed this Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

HTMLDocument.registerElement is deprecated.
2 participants