Actualizar 'app.js'

file-group-page
bat 3 years ago
parent dce0a683f8
commit e369c0c8fa

@ -2,12 +2,6 @@ import { Project } from "./components/project.js"
customElements.define('m-project', Project) customElements.define('m-project', Project)
function e(tag, attrs, content) {
const el = document.createElement(tag)
el.innerText = content
return el
}
class Setup { class Setup {
constructor() { constructor() {
this.loaded = false this.loaded = false
@ -43,7 +37,7 @@ class Setup {
!this.loaded && this.registration.active !this.loaded && this.registration.active
) { ) {
document.body.appendChild( document.body.appendChild(
e('m-project', {}, '') document.createElement('m-project')
) )
this.loaded = true this.loaded = true
} }

Loading…
Cancel
Save