Open wersw73 opened 1 year ago
Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements
customElements.define
document.registerElement
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)
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
PRs are welcome 😁👍
Use
customElements.define
instead ofdocument.registerElement
see https://javascript.info/custom-elements