mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +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,
|
ast,
|
||||||
function(ast){
|
function(ast){
|
||||||
return 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){
|
.map(function(e){
|
||||||
// expand delayed sections...
|
// expand delayed sections...
|
||||||
e = typeof(e) == 'function' ?
|
e = typeof(e) == 'function' ?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user