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
730348c0fa
commit
44f33bf880
@ -547,6 +547,14 @@ module.BaseParser = {
|
||||
ast,
|
||||
function(ast){
|
||||
return ast
|
||||
// XXX in case of @filter(..) can be a function that
|
||||
// returns a promise...
|
||||
// ...on a sync action this promise does not get a
|
||||
// chance to resolve, and thus its value is lost...
|
||||
// ...should this be fixed here or in filter???
|
||||
// fixing it here -- mark and wrap ast in
|
||||
// Promise's .all(..), .iter(..) or .seqiter(..)
|
||||
// ...I'm leaning to fixing this in @filter(..)
|
||||
.map(function(e){
|
||||
// expand delayed sections...
|
||||
e = typeof(e) == 'function' ?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user