diff --git a/literal-element/modules/properties.js b/literal-element/modules/properties.js index 0202130..8ccb4d8 100644 --- a/literal-element/modules/properties.js +++ b/literal-element/modules/properties.js @@ -92,7 +92,6 @@ export default { src: { attribute: function(value) { const internal = getInternals(this); - internal.src = import(rewriteURL(value)).catch((e) => { throw new Error('<' + internal.tag + '> not defined, failed to fetch src "' + value + '" ' + e.message); }); diff --git a/modules/renderer-dom.js b/modules/renderer-dom.js index 56eecc3..d7c5317 100644 --- a/modules/renderer-dom.js +++ b/modules/renderer-dom.js @@ -75,7 +75,6 @@ function updateDOM(first, last, contents) { while (++c < contents.length - 1) { object = contents[c]; - if (typeof object === 'string') { // If there's a text node (but not last) lined up, populate it if (isTextNode(node) && node !== last) {