Fixes
h3rald h3rald@h3rald.com
Sun, 22 Dec 2024 11:13:55 +0000
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
web/assets/hex-playground.js
→
web/assets/hex-playground.js
@@ -19,7 +19,7 @@ outputBox.textContent += text + "\n";
}; eval.addEventListener("click", (e) => { - const data = textarea.value.replace(/^#!.*?\n/, '').replace(/;.*?\n/g, ' ').replace(/#|.*?|#/mg, '').replace(/\n/mg, ' '); + const data = textarea.value.replace(/^#!.*?\n/, '').replace(/;.*?\n/g, ' ').replace(/#\|.*?\|#/mg, '').replace(/\n/mg, ' '); Module.pending_lines.push(data); let resolver = Module.pending_fgets.shift(); resolver(Module.pending_lines.shift());