diff --git a/pwiki2.js b/pwiki2.js index 1d7f871..3c68ddd 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -40,7 +40,19 @@ * * XXX ASAP make parser's .expand(..) (tesing on ._expand(..)) sync/async... * ...still different... -* ...potentiall we aren't handling one or more of the new return types... +* render time seems to be the same so we are rendering the whole +* thing down, but we seem to either be losing the return value(s) +* or context in the new code along the return path... +* getting pages "raw" seems to work fine... +* /moo/_raw (single page, no expansion) -- OK +* /tree/_text (macro + expansion) -- OK +* /* /path/_text (multipage + expansion) -- OK +* ...this breaks down when we use _view! +* ...potential causes: +* - not handling one or more of the new return types up the parser +* .resolve(..) +* .parse(..) +* - not handling the return value correctly in one or more macros * XXX ASAP need to add error handling to .awaitOrRun(..) * ...might be even better to make it support the same interface as Promise... * XXX BUG: for some reason editing the root page ('/') hangs /tree...