mirror of
https://github.com/flynx/pWiki.git
synced 2026-08-24 08:16: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
|
// - everything returns an ast
|
||||||
// - callbacks/events/handlers to trigger on specific macro
|
// - callbacks/events/handlers to trigger on specific macro
|
||||||
// resolution
|
// 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 Q: do we need generators?
|
||||||
// XXX Handle errors...
|
// XXX Handle errors...
|
||||||
|
// XXX BUG: awaiting on .wait* can deadlock...
|
||||||
expand: function(page, ast, state={}, nested_handlers={}){
|
expand: function(page, ast, state={}, nested_handlers={}){
|
||||||
var that = this
|
var that = this
|
||||||
ast = typeof(ast) != 'object' ?
|
ast = typeof(ast) != 'object' ?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user