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

Open
lubuger opened this issue Apr 20, 2022 · 2 comments
Open

HTMLDocument.registerElement is deprecated. #1395

lubuger opened this issue Apr 20, 2022 · 2 comments

Comments

@lubuger
Copy link

lubuger commented Apr 20, 2022

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

HTMLDocument.registerElement (file:///C:/Users/windows/AppData/Local/atom-beta/app-1.61.0-beta0/resources/app.asar/static/index.js:160:12)
registerElement (C:\Users\windows\.atom\packages\remote-ftp\node_modules\space-pen\lib\space-pen.js:66:88)
Builder.openTag (C:\Users\windows\.atom\packages\remote-ftp\node_modules\space-pen\lib\space-pen.js:297:27)
Builder.tag (C:\Users\windows\.atom\packages\remote-ftp\node_modules\space-pen\lib\space-pen.js:274:12)
Function.div (C:\Users\windows\.atom\packages\remote-ftp\node_modules\space-pen\lib\space-pen.js:83:49)
Function.content (C:\Users\windows\.atom\packages\remote-ftp\lib\views\tree-view.js:490:19)
@icetee
Copy link
Owner

icetee commented Apr 20, 2022

Should be stopped a https://github.com/atom/atom-space-pen-views packages? Its dependence on https://github.com/atom-archive/space-pen.

@LexGear
Copy link

LexGear commented Jul 2, 2024

Still not fixed? Should I use a different package?

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