Fixes.
h3rald h3rald@h3rald.com
Mon, 02 Dec 2024 18:00:28 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
hex.c
→
hex.c
@@ -4,7 +4,7 @@ #ifdef EMSCRIPTEN
#include <emscripten.h> EM_ASYNC_JS(char *, em_fgets, (const char *buf, size_t bufsize), { - return await new Promise((resolve, reject) = > { + return await new Promise(function(resolve, reject) { if (Module.pending_lines.length > 0) { resolve(Module.pending_lines.shift());