summaryrefslogtreecommitdiff
path: root/src/UI.js
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-11-18 05:07:26 -0500
committerLLLL Colonq <llll@colonq>2024-11-18 05:07:26 -0500
commit9c363a2a66f446f474dc3e87d2b0dfaf684667f2 (patch)
tree933c177351d815dc78c8382f6f5fb98ec8e974e9 /src/UI.js
parentb1a6da461d16e45bf57d01ec77fd8ef041af7c22 (diff)
Let's not be silly with our JSON
Diffstat (limited to 'src/UI.js')
-rw-r--r--src/UI.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/UI.js b/src/UI.js
index 0b00e5d..5cdc5d0 100644
--- a/src/UI.js
+++ b/src/UI.js
@@ -1,2 +1,3 @@
export const _cheatLog = (a) => () => console.log(a);
export const _setInterval = (delay) => (f) => () => setInterval(f, delay);
+export const _toJSON = (x) => JSON.stringify(x);