Open rosteoman opened 2 years ago
Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements
customElements.define
document.registerElement
HTMLDocument.registerElement (file:///Applications/Atom%20Nightly.app/Contents/Resources/app.asar/static/index.js:160:12) f (/Users/radiantvii/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:87233) e.openTag (/Users/radiantvii/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:91114) e.tag (/Users/radiantvii/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:90760) Function.div (/Users/radiantvii/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:88521) Function.content (/Users/radiantvii/.atom/packages/script/lib/header-view.js:48:19)
Duplicate of #2654
Use
customElements.define
instead ofdocument.registerElement
see https://javascript.info/custom-elements