Skip to content

Commit

Permalink
logging functions
Browse files Browse the repository at this point in the history
  • Loading branch information
FallBackITA27 committed Apr 11, 2024
1 parent 5f3aadb commit 508c050
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mkwpp-parser/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
function writeToOutput(d) {
if (d == null) return;
document.createElement("p")
let out = document.createElement("p");
out.innerHTML = d;
document.getElementById("output").append(out);
}

function resetOutput() {
document.getElementById("output").innerHTML = "";
}

0 comments on commit 508c050

Please sign in to comment.