Open Axelod opened 2 years ago
Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements
customElements.define
document.registerElement
HTMLDocument.registerElement (file:///usr/lib/atom/static/index.js:166:12) registerElement (/home/ernesto/.atom/packages/asciidoc-preview/node_modules/space-pen/lib/space-pen.js:66:88) Builder.openTag (/home/ernesto/.atom/packages/asciidoc-preview/node_modules/space-pen/lib/space-pen.js:297:27) Builder.tag (/home/ernesto/.atom/packages/asciidoc-preview/node_modules/space-pen/lib/space-pen.js:274:12) Function.div (/home/ernesto/.atom/packages/asciidoc-preview/node_modules/space-pen/lib/space-pen.js:83:49) Function.content (/home/ernesto/.atom/packages/asciidoc-preview/lib/asciidoc-preview-view.coffee:28:19)
Same issue here under Archlinux everything up to date.
Use
customElements.define
instead ofdocument.registerElement
see https://javascript.info/custom-elements