diff options
Diffstat (limited to '')
-rw-r--r-- | tmp/api-wasm.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tmp/api-wasm.js b/tmp/api-wasm.js deleted file mode 100644 index 50e1392..0000000 --- a/tmp/api-wasm.js +++ /dev/null @@ -1,7 +0,0 @@ -/* WASM implementation of "api.h" interface to be used in web contexts */ - -export const platformDependentPersistInt = (n) => - localStorage.setItem("persisted", n.toString()); - -export const platformDependentRetrieveInt = () => - parseInt(localStorage.getItem("persisted")); |