h3imdall/ftp-remote-edit

Use customElements.define instead of document.registerElement see

Closed this issue · 1 comments

Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements

HTMLDocument.registerElement - file:///C:/Users/okant/AppData/Local/atom/app-1.63.1/resources/app.asar/static/index.js:160:12
registerElement - c:\Users\okant\.atom\packages\ftp-remote-edit\node_modules\space-pen\lib\space-pen.js:66:88
Builder.openTag - c:\Users\okant\.atom\packages\ftp-remote-edit\node_modules\space-pen\lib\space-pen.js:297:27
Builder.tag - c:\Users\okant\.atom\packages\ftp-remote-edit\node_modules\space-pen\lib\space-pen.js:274:12
Function.div - c:\Users\okant\.atom\packages\ftp-remote-edit\node_modules\space-pen\lib\space-pen.js:83:49
Function.content - c:\Users\okant\.atom\packages\ftp-remote-edit\lib\views\tree-view.js:769:19

node_modules\space-pen\lib\space-pen.js

registerElement = function(tagName) { var customTagName, _base; customTagName = "space-pen-" + tagName; if ((_base = window.__spacePenCustomElements)[customTagName] == null) { _base[customTagName] = typeof document.querySelector === "function" ? document.querySelector(customTagName, { prototype: Object.create(CustomElementPrototype), "extends": tagName }) : void 0; } return customTagName; };