From beea5c3774585fc837c05c5e8189c6ee9394995e Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Tue, 26 Jun 2018 02:56:36 -0400 Subject: [PATCH] use localForage for file store --- .gitmodules | 3 + index.html | 4 +- localForage | 1 + presets/apple2/siegegame.c | 4 +- src/store.js | 102 +++++++++++++++++ src/ui.js | 218 ++++++++++++++++--------------------- src/worker/workermain.js | 6 +- 7 files changed, 206 insertions(+), 132 deletions(-) create mode 160000 localForage create mode 100644 src/store.js diff --git a/.gitmodules b/.gitmodules index e2f272a4..d5cb65a8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -19,3 +19,6 @@ [submodule "gif.js"] path = gif.js url = https://github.com/sehugg/gif.js +[submodule "localForage"] + path = localForage + url = https://github.com/localForage/localForage diff --git a/index.html b/index.html index ae7807d2..fec2ee47 100644 --- a/index.html +++ b/index.html @@ -205,7 +205,7 @@ ga('send', 'pageview'); - +