cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-07-28 01:28:50 +03:00
parent 3c9b06b5df
commit 921b9dce65

View File

@ -1698,14 +1698,13 @@ module.BaseParser = {
var that = this
// XXX should we handle strings as input???
ast = ast
?? await this.expand(page, null, state)
?? this.expand(page, null, state)
ast = typeof(ast) == 'string' ?
await this.expand(page, ast, state)
this.expand(page, ast, state)
: ast
//return [...ast]
return await ast
.iter()
return ast
// post handlers...
.map(function(section){
return typeof(section) == 'function' ?