mirror of
https://github.com/flynx/pWiki.git
synced 2026-08-24 00:06:43 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b1c1c4024f
commit
2fc3a7cc12
@ -593,14 +593,10 @@ module.BaseParser = {
|
||||
// - everything returns an ast
|
||||
// - callbacks/events/handlers to trigger on specific macro
|
||||
// resolution
|
||||
// XXX Remove async/await... (???)
|
||||
// - for trivial stuff they are nice
|
||||
// - infectios -- force all subsequent levels to use async/await
|
||||
// - provide no alternatives
|
||||
// ...i.e. promises can be extended to indlude partial
|
||||
// states and the like, async/await can't...
|
||||
//
|
||||
// XXX Q: do we need generators?
|
||||
// XXX Handle errors...
|
||||
// XXX BUG: awaiting on .wait* can deadlock...
|
||||
expand: function(page, ast, state={}, nested_handlers={}){
|
||||
var that = this
|
||||
ast = typeof(ast) != 'object' ?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user