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

Open
wersw73 opened this issue Nov 19, 2022 · 2 comments
Open

HTMLDocument.registerElement is deprecated. #509

wersw73 opened this issue Nov 19, 2022 · 2 comments

Comments

@wersw73
Copy link

wersw73 commented Nov 19, 2022

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

HTMLDocument.registerElement (file:///C:/ProgramData/wersw/atom/app-1.63.0/resources/app.asar/static/index.js:160:12)
Object.<anonymous> (C:\Users\wersw\.atom\packages\x-terminal\src\profile-menu-element.js:521:44)
Object.<anonymous> (C:\Users\wersw\.atom\packages\x-terminal\src\profile-menu-element.js:527:3)
Module._compile (<embedded>:11:149913)
Object..js (<embedded>:11:153507)
Module.load (internal/modules/cjs/loader.js:992:32)
@sedatislek
Copy link

sedatislek commented Nov 20, 2022

HTMLDocument.registerElement - file:///C:/Users/Ati/AppData/Local/atom/app-1.63.0/resources/app.asar/static/index.js:160:12
Object. - C:\Users\Ati.atom\packages\x-terminal\src\save-profile-element.js:69:44
Object. - C:\Users\Ati.atom\packages\x-terminal\src\save-profile-element.js:75:3
Module._compile - :11:149913
Object..js - :11:153507
Module.load - internal/modules/cjs/loader.js:992:32

@UziTech
Copy link
Member

UziTech commented Nov 20, 2022

PRs are welcome 😁👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants