mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 16:41:39 +00:00
still tracking down a bug in the experimental sync/async parser...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
510b549b85
commit
3e5a6e613e
14
pwiki2.js
14
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...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user