diff --git a/pwiki2.js b/pwiki2.js index efe5786..5766854 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -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' ?