mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a04ab2388d
commit
ad73d62e63
@ -1701,17 +1701,9 @@ module.BaseParser = {
|
||||
await this.expand(page, ast, state)
|
||||
: ast
|
||||
|
||||
/* XXX this is quite ugly...
|
||||
var blocks = []
|
||||
for await (var a of ast){
|
||||
blocks.push(a) }
|
||||
|
||||
return blocks
|
||||
/*/
|
||||
//return [...ast]
|
||||
return await ast
|
||||
.iter()
|
||||
//*/
|
||||
// post handlers...
|
||||
.map(function(section){
|
||||
return typeof(section) == 'function' ?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user