atom-community / atom-script

:runner: Run ( scripts | selections | source ) in Atom
https://atom.io/packages/script
MIT License
734 stars 269 forks source link

HTMLDocument.registerElement is deprecated. #2737

Open weburgess1464 opened 2 years ago

weburgess1464 commented 2 years ago

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

HTMLDocument.registerElement (file:///C:/Users/webur/AppData/Local/atom/app-1.63.1/resources/app.asar/static/index.js:160:12)
f (C:\Users\webur\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:87233)
e.openTag (C:\Users\webur\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:91114)
e.tag (C:\Users\webur\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:90760)
Function.div (C:\Users\webur\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:88521)
Function.content (C:\Users\webur\.atom\packages\script\lib\header-view.js:48:19)
idleberg commented 7 months ago

Duplicate of https://github.com/atom-community/atom-script/issues/2654