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(){},