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

Open ghost opened 2 years ago

ghost commented 2 years ago

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

HTMLDocument.registerElement (file:///usr/lib/atom/static/index.js:166:12)
f (/home/geek-comunity/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:87233)
e.openTag (/home/geek-comunity/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:91114)
e.tag (/home/geek-comunity/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:90760)
Function.div (/home/geek-comunity/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:88521)
Function.content (/home/geek-comunity/.atom/packages/script/lib/header-view.js:48:19)
ghost commented 2 years ago

Can someone tell me, how can I solve this error?

idleberg commented 7 months ago

Duplicate of #2654