Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

HTMLDocument.registerElement is deprecated. #314

Open
motor1n opened this issue Oct 20, 2023 · 0 comments
Open

HTMLDocument.registerElement is deprecated. #314

motor1n opened this issue Oct 20, 2023 · 0 comments

Comments

@motor1n
Copy link

motor1n commented Oct 20, 2023

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)
registerElement (/home/art/.var/app/dev.pulsar_edit.Pulsar/data/packages/markdown-writer/node_modules/space-pen/lib/space-pen.js:66:88)
Builder.openTag (/home/art/.var/app/dev.pulsar_edit.Pulsar/data/packages/markdown-writer/node_modules/space-pen/lib/space-pen.js:297:27)
Builder.tag (/home/art/.var/app/dev.pulsar_edit.Pulsar/data/packages/markdown-writer/node_modules/space-pen/lib/space-pen.js:274:12)
Function.div (/home/art/.var/app/dev.pulsar_edit.Pulsar/data/packages/markdown-writer/node_modules/space-pen/lib/space-pen.js:83:49)
Function.content (/home/art/.var/app/dev.pulsar_edit.Pulsar/data/packages/markdown-writer/lib/views/insert-image-file-view.coffee:34:19)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant