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

Open 5020finder opened 1 year ago

5020finder commented 1 year ago

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

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

Duplicate of #2654