mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-31 19:10:08 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bbc2fea0d6
commit
00ca03e93b
@ -153,6 +153,7 @@ module.BaseStore = {
|
||||
set data(value){
|
||||
this.__data = value },
|
||||
|
||||
// XXX not sure if it is better to set these here or use index.IndexManagerMixin(..)
|
||||
get index_attrs(){
|
||||
return [...index.iter(this)] },
|
||||
index: async function(action='get', ...args){
|
||||
|
||||
@ -17,14 +17,10 @@
|
||||
* - CLI
|
||||
*
|
||||
*
|
||||
* XXX ASAP INDEX move index stuff to pwiki/index.js
|
||||
* XXX INDEX move to the new index...
|
||||
* XXX INDEX DOC can index validation be async???
|
||||
* ...likely no
|
||||
* XXX INDEX add option to set default action (get/lazy/cached)
|
||||
* XXX INDEX might be a better idea to make the iterator (.index_attrs)
|
||||
* and global method (.index(..)) out of the mixin and keep them
|
||||
* as utility methods.
|
||||
* ...the mixin can still live for convinience.
|
||||
* XXX BUG: when editing the root page of a substore the page's .cache is
|
||||
* not reset for some reason...
|
||||
* ...the problem is in that .names() cache is not reset when a new
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user