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. #599

Open
LJacki opened this issue Jun 10, 2022 · 0 comments
Open

HTMLDocument.registerElement is deprecated. #599

LJacki opened this issue Jun 10, 2022 · 0 comments

Comments

@LJacki
Copy link

LJacki commented Jun 10, 2022

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

HTMLDocument.registerElement (file:///C:/Users/Jack/AppData/Local/atom-beta/app-1.61.0-beta0/resources/app.asar/static/index.js:160:12)
registerElement (C:\Users\Jack\.atom\packages\editor-background\node_modules\space-pen\lib\space-pen.js:66:88)
Builder.openTag (C:\Users\Jack\.atom\packages\editor-background\node_modules\space-pen\lib\space-pen.js:297:27)
Builder.tag (C:\Users\Jack\.atom\packages\editor-background\node_modules\space-pen\lib\space-pen.js:274:12)
Function.div (C:\Users\Jack\.atom\packages\editor-background\node_modules\space-pen\lib\space-pen.js:83:49)
Function.content (C:\Users\Jack\.atom\packages\build\lib\build-view.js:35:12)
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

1 participant