From 921b9dce65cfef9c79946c79d7ed675a096b16b7 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 28 Jul 2022 01:28:50 +0300 Subject: [PATCH] cleanup... Signed-off-by: Alex A. Naanou --- pwiki2.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pwiki2.js b/pwiki2.js index df18e4d..0d81740 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -1698,14 +1698,13 @@ module.BaseParser = { var that = this // XXX should we handle strings as input??? ast = ast - ?? await this.expand(page, null, state) + ?? this.expand(page, null, state) ast = typeof(ast) == 'string' ? - await this.expand(page, ast, state) + this.expand(page, ast, state) : ast //return [...ast] - return await ast - .iter() + return ast // post handlers... .map(function(section){ return typeof(section) == 'function' ?