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

HTMLDocument.registerElement is deprecated. #2682

Open
cammneto opened this issue May 17, 2022 · 2 comments
Open

HTMLDocument.registerElement is deprecated. #2682

cammneto opened this issue May 17, 2022 · 2 comments

Comments

@cammneto
Copy link

Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements

HTMLDocument.registerElement (file:///usr/lib/atom/static/index.js:166:12)
f (/home/beto/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:87233)
e.openTag (/home/beto/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:91114)
e.tag (/home/beto/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:90760)
Function.div (/home/beto/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:88521)
Function.content (/home/beto/.atom/packages/script/lib/header-view.js:48:19)
@ntlspck
Copy link

ntlspck commented May 19, 2022

I have the same issue with Atom 1.61.0-beta0

@idleberg
Copy link
Contributor

Duplicate of #2654

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

No branches or pull requests

3 participants