diff --git a/src/html.js b/src/html.js deleted file mode 100644 index c6742f8..0000000 --- a/src/html.js +++ /dev/null @@ -1,24 +0,0 @@ -class html { - constructor() { - this.html = ''; - } - - - async loadingStart(element) {} - - async loadingEnd(element) {} - - async render(element, content) { - var template = '%s'; - if (element.hasAttribute('html-template')) - template = element.getAttribute('html-template'); - else if (element.hasAttribute("template")) { - template = element.innerHTML; - element.setAttribute('html-template', template); - } - - element.innerHTML = template.replace('%s', content); - } -} - -