mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-30 02:20:08 +00:00
Merge branch 'master' of github.com:flynx/pWiki
This commit is contained in:
commit
f5d2b47d00
@ -911,6 +911,8 @@ object.Constructor('Page', BasePage, {
|
|||||||
var depends = state.depends =
|
var depends = state.depends =
|
||||||
state.depends
|
state.depends
|
||||||
?? new Set()
|
?? new Set()
|
||||||
|
// XXX DEPENDS_PATTERN
|
||||||
|
depends.add(src)
|
||||||
|
|
||||||
|
|
||||||
handler = handler
|
handler = handler
|
||||||
@ -1031,6 +1033,8 @@ object.Constructor('Page', BasePage, {
|
|||||||
var depends = state.depends =
|
var depends = state.depends =
|
||||||
state.depends
|
state.depends
|
||||||
?? new Set()
|
?? new Set()
|
||||||
|
// XXX DEPENDS_PATTERN
|
||||||
|
depends.add(src)
|
||||||
|
|
||||||
|
|
||||||
var pages = src ?
|
var pages = src ?
|
||||||
@ -1288,6 +1292,8 @@ object.Constructor('Page', BasePage, {
|
|||||||
&& this.actions_inherit_args.has(pwpath.basename(src))
|
&& this.actions_inherit_args.has(pwpath.basename(src))
|
||||||
&& this.get(pwpath.dirname(src)).path == this.path){
|
&& this.get(pwpath.dirname(src)).path == this.path){
|
||||||
src += ':$ARGS' }
|
src += ':$ARGS' }
|
||||||
|
// XXX DEPENDS_PATTERN
|
||||||
|
depends.add(src)
|
||||||
|
|
||||||
|
|
||||||
join = _getBlock('join')
|
join = _getBlock('join')
|
||||||
|
|||||||
@ -11,6 +11,9 @@
|
|||||||
* ...and need this to work through all the i/o...
|
* ...and need this to work through all the i/o...
|
||||||
* ....this might be an argument towards the .title attr, at least
|
* ....this might be an argument towards the .title attr, at least
|
||||||
* for notes...
|
* for notes...
|
||||||
|
* XXX macros: should we add the pattern path to .depends instead of the
|
||||||
|
* final path...
|
||||||
|
* ...would also need a fast way to pattern match...
|
||||||
* XXX need basic system events:
|
* XXX need basic system events:
|
||||||
* <store>.onUpdate(path, data?)
|
* <store>.onUpdate(path, data?)
|
||||||
* <store>.onCreate(path, data?)
|
* <store>.onCreate(path, data?)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user