Open somepaulo opened 2 years ago
node_modules\space-pen\lib\space-pen.js
66 : _base[customTagName] = typeof document.querySelector === "function" ? document.querySelector(customTagName, {
on pulsar got the following:
Deprecated calls ftp-remote-edit (1 deprecation) Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements
HTMLDocument.registerElement - file:///opt/Pulsar/resources/app.asar/static/index.js:100:12 registerElement - /home/pjiggy/.pulsar/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:66:88 Builder.openTag - /home/pjiggy/.pulsar/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:297:27 Builder.tag - /home/pjiggy/.pulsar/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:274:12 Function.div - /home/pjiggy/.pulsar/packages/ftp-remote-edit/node_modules/space-pen/lib/space-pen.js:83:49 Function.content - /home/pjiggy/.pulsar/packages/ftp-remote-edit/lib/views/tree-view.js:21:17
Does anyone know if there will be updates for the Pulsar?
Use
customElements.define
instead ofdocument.registerElement
see https://javascript.info/custom-elements