mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-31 19:10: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)
|
await this.expand(page, ast, state)
|
||||||
: ast
|
: ast
|
||||||
|
|
||||||
//* XXX this is quite ugly...
|
/* XXX this is quite ugly...
|
||||||
var blocks = []
|
var blocks = []
|
||||||
for await (var a of ast){
|
for await (var a of ast){
|
||||||
blocks.push(a) }
|
blocks.push(a) }
|
||||||
|
|
||||||
return blocks
|
return blocks
|
||||||
/*/
|
/*/
|
||||||
return [...ast]
|
//return [...ast]
|
||||||
|
return await ast
|
||||||
|
.iter()
|
||||||
//*/
|
//*/
|
||||||
// post handlers...
|
// post handlers...
|
||||||
.map(function(section){
|
.map(function(section){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user