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