mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 01:50:07 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3c9b06b5df
commit
921b9dce65
@ -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' ?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user