Open Fady486 opened 2 years ago
when I use the "script" package in ATOM it doesnt work Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements
customElements.define
document.registerElement
HTMLDocument.registerElement (file:///C:/AtomSetup-x64%20(1)/atom-nightly-1.62.0-nightly0-full/lib/net45/resources/app.asar/static/index.js:160:12) f (C:\Users\fady\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:87233) e.openTag (C:\Users\fady\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:91114) e.tag (C:\Users\fady\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:90760) Function.div (C:\Users\fady\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:88521) Function.content (C:\Users\fady\.atom\packages\script\lib\header-view.js:48:19)
Duplicate of #2654
when I use the "script" package in ATOM it doesnt work Use
customElements.define
instead ofdocument.registerElement
see https://javascript.info/custom-elements