Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-05-05 10:50:12 +03:00
parent 61b67674a2
commit 6d76b0cb64

View File

@ -410,6 +410,11 @@ module.store =
BaseStore.nest() BaseStore.nest()
// XXX stores to experiment with:
// - cache
// - fs
// - PouchDB
// XXX EXPERIMENTAL // XXX EXPERIMENTAL
var localStorageStore = var localStorageStore =
module.localStorageStore = { module.localStorageStore = {
@ -441,11 +446,10 @@ module.localStorageStore = {
__set__: function(path, data){ __set__: function(path, data){
this.data[path] = this.__key__ ? this.data[path] = this.__key__ ?
data data
// XXX CACHE...
: JSON.stringify(data) }, : JSON.stringify(data) },
__update__: function(){ __update__: function(){
// XXX // XXX
}, return this },
delete: function(){}, delete: function(){},
load: function(){}, load: function(){},