Open Firemanchief52 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%20Beta.app/Contents/Resources/app.asar/static/index.js:160:12) registerElement (/Users/firemanchief52/.atom/packages/symbols-list/node_modules/space-pen/lib/space-pen.js:66:88) Builder.openTag (/Users/firemanchief52/.atom/packages/symbols-list/node_modules/space-pen/lib/space-pen.js:297:27) Builder.tag (/Users/firemanchief52/.atom/packages/symbols-list/node_modules/space-pen/lib/space-pen.js:274:12) Function.div (/Users/firemanchief52/.atom/packages/symbols-list/node_modules/space-pen/lib/space-pen.js:83:49) Function.content (/Users/firemanchief52/.atom/packages/symbols-list/lib/symbols-list-view.coffee:23:19)
Use
customElements.define
instead ofdocument.registerElement
see https://javascript.info/custom-elements