Merge pull request #739 from Demonthos/remove-logs-from-interpreter

Remove logs from interpreter
This commit is contained in:
Jon Kelley 2023-01-09 10:32:46 -08:00 committed by GitHub
commit b50f38c675
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,8 +144,6 @@ class Interpreter {
this.nodes[root].textContent = text;
}
SetAttribute(id, field, value, ns) {
console.log("set attribute", id, field, value, ns);
if (value === null) {
this.RemoveAttribute(id, field, ns);
}
@ -228,7 +226,6 @@ class Interpreter {
}
MakeTemplateNode(node) {
console.log("making template node", node);
switch (node.type) {
case "Text":
return document.createTextNode(node.text);