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

Open devRegan opened 13 hours ago

devRegan commented 13 hours ago

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

HTMLDocument.registerElement (file:///app/Pulsar/resources/app.asar/static/index.js:100:12)
f (/home/regan/.var/app/dev.pulsar_edit.Pulsar/data/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:87233)
e.openTag (/home/regan/.var/app/dev.pulsar_edit.Pulsar/data/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:91114)
e.tag (/home/regan/.var/app/dev.pulsar_edit.Pulsar/data/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:90760)
Function.div (/home/regan/.var/app/dev.pulsar_edit.Pulsar/data/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:88521)
Function.content (/home/regan/.var/app/dev.pulsar_edit.Pulsar/data/packages/script/lib/header-view.js:10:17)
devRegan commented 13 hours ago

how to fix that