mirror of
https://github.com/flynx/pWiki.git
synced 2026-08-24 08:16:43 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
71a4b7f41b
commit
8e501641ac
@ -817,8 +817,11 @@ module.BaseParser = {
|
|||||||
|
|
||||||
// merge stage III...
|
// merge stage III...
|
||||||
//
|
//
|
||||||
// XXX FILTER should filters he handled here or in .resolve(..) ???
|
// - ensure the ast is fully resolved
|
||||||
// ...and how do we handle filters in @include(..)'s???
|
// - apply nested stage III handlers
|
||||||
|
// - apply filters on whole ast
|
||||||
|
//
|
||||||
|
//
|
||||||
merge: function(page, ast, state={}, nested_handlers={}, wait='wait'){
|
merge: function(page, ast, state={}, nested_handlers={}, wait='wait'){
|
||||||
var that = this
|
var that = this
|
||||||
|
|
||||||
@ -852,7 +855,6 @@ module.BaseParser = {
|
|||||||
return Promise.awaitOrRun(
|
return Promise.awaitOrRun(
|
||||||
state[wait],
|
state[wait],
|
||||||
function(){
|
function(){
|
||||||
//ast = stage3(ast)
|
|
||||||
// NOTE: in an async world where any promised macro can
|
// NOTE: in an async world where any promised macro can
|
||||||
// call .exec(..) / .execNested(..) we can't trust
|
// call .exec(..) / .execNested(..) we can't trust
|
||||||
// the lack of .unresolved in state...
|
// the lack of .unresolved in state...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user