mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-30 02:20:08 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
61b67674a2
commit
6d76b0cb64
@ -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(){},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user