starting the move to ig-types' api...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-07-27 14:12:46 +03:00
parent 174fb138bc
commit a04ab2388d

View File

@ -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){