mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 10:00:08 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8bdadacbba
commit
d55396bd14
@ -359,6 +359,7 @@ module.BaseStore = {
|
|||||||
// paths -- no page acquisition is performed...
|
// paths -- no page acquisition is performed...
|
||||||
// NOTE: edit methods are local-only...
|
// NOTE: edit methods are local-only...
|
||||||
//
|
//
|
||||||
|
// XXX do we copy the data here or modify it????
|
||||||
// XXX FUNC handle functions as pages...
|
// XXX FUNC handle functions as pages...
|
||||||
// XXX BUG: for path '/' this adds an entry at '', but when getting
|
// XXX BUG: for path '/' this adds an entry at '', but when getting
|
||||||
// '/', the later is not found...
|
// '/', the later is not found...
|
||||||
@ -450,6 +451,7 @@ function(meth, drop_cache=false, post){
|
|||||||
return res} }
|
return res} }
|
||||||
|
|
||||||
|
|
||||||
|
// XXX not sure about the name...
|
||||||
// XXX should this be a mixin???
|
// XXX should this be a mixin???
|
||||||
// XXX TEST...
|
// XXX TEST...
|
||||||
var MetaStore =
|
var MetaStore =
|
||||||
@ -490,9 +492,8 @@ module.MetaStore = {
|
|||||||
.paths()
|
.paths()
|
||||||
.map(function(s){
|
.map(function(s){
|
||||||
return module.path.join(path, s) })
|
return module.path.join(path, s) })
|
||||||
: path })
|
: path })
|
||||||
.flat() },
|
.flat() },
|
||||||
|
|
||||||
// XXX revise...
|
// XXX revise...
|
||||||
__exists__: metaProxy('__exists__',
|
__exists__: metaProxy('__exists__',
|
||||||
function(res, store, path){
|
function(res, store, path){
|
||||||
@ -504,7 +505,6 @@ module.MetaStore = {
|
|||||||
__get__: metaProxy('__get__'),
|
__get__: metaProxy('__get__'),
|
||||||
__delete__: metaProxy('__delete__', true),
|
__delete__: metaProxy('__delete__', true),
|
||||||
__update__: metaProxy('__update__', true),
|
__update__: metaProxy('__update__', true),
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user