armin-pfaeffle / atom-minify

Minifies JS and CSS files, optionally on save ‒ package for atom.io
https://atom.io/packages/atom-minify
MIT License
24 stars 7 forks source link

HTMLDocument.registerElement is deprecated. #71

Open maninhammock opened 2 years ago

maninhammock commented 2 years ago

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

HTMLDocument.registerElement (file:///C:/Users/Rihards/AppData/Local/atom/app-1.63.1/resources/app.asar/static/index.js:160:12)
registerElement (C:\Users\Rihards\.atom\packages\atom-minify\node_modules\space-pen\lib\space-pen.js:66:88)
Builder.openTag (C:\Users\Rihards\.atom\packages\atom-minify\node_modules\space-pen\lib\space-pen.js:297:27)
Builder.tag (C:\Users\Rihards\.atom\packages\atom-minify\node_modules\space-pen\lib\space-pen.js:274:12)
Function.div (C:\Users\Rihards\.atom\packages\atom-minify\node_modules\space-pen\lib\space-pen.js:83:49)
Function.content (C:\Users\Rihards\.atom\packages\atom-minify\lib\atom-minify-view.coffee:21:19)