From 6d76b0cb64eaac7347da0ee4f998be428a1fc5c5 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 5 May 2022 10:50:12 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pwiki2.js b/pwiki2.js index 6db3e6d..c40b37f 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -410,6 +410,11 @@ module.store = BaseStore.nest() +// XXX stores to experiment with: +// - cache +// - fs +// - PouchDB + // XXX EXPERIMENTAL var localStorageStore = module.localStorageStore = { @@ -441,11 +446,10 @@ module.localStorageStore = { __set__: function(path, data){ this.data[path] = this.__key__ ? data - // XXX CACHE... : JSON.stringify(data) }, __update__: function(){ // XXX - }, + return this }, delete: function(){}, load: function(){},