mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 08:31:38 +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)
|
await this.expand(page, ast, state)
|
||||||
: ast
|
: ast
|
||||||
|
|
||||||
/* 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
|
return await ast
|
||||||
.iter()
|
.iter()
|
||||||
//*/
|
|
||||||
// post handlers...
|
// post handlers...
|
||||||
.map(function(section){
|
.map(function(section){
|
||||||
return typeof(section) == 'function' ?
|
return typeof(section) == 'function' ?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user