From 3a1afc62724f1631f23b5aa044856f7d09db14eb Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 25 Oct 2023 08:20:48 -0400 Subject: Lots of changes! * Update reflect library * Text alginment * Tiled map compilation! --- js-runtime/reflect.js | 1 + js-runtime/reflect.wasm | Bin 4260 -> 4260 bytes 2 files changed, 1 insertion(+) (limited to 'js-runtime') diff --git a/js-runtime/reflect.js b/js-runtime/reflect.js index 0662ea5..7ba19b7 100644 --- a/js-runtime/reflect.js +++ b/js-runtime/reflect.js @@ -360,6 +360,7 @@ class SchemeModule { #io_handler; #debug_handler; static #rt = { + bignum_from_string(str) { return BigInt(str); }, bignum_from_i32(n) { return BigInt(n); }, bignum_from_i64(n) { return n; }, bignum_from_u64(n) { return n < 0n ? 0xffff_ffff_ffff_ffffn + (n + 1n) : n; }, diff --git a/js-runtime/reflect.wasm b/js-runtime/reflect.wasm index d2b10d7..64d1156 100644 Binary files a/js-runtime/reflect.wasm and b/js-runtime/reflect.wasm differ -- cgit v1.2.3