JS: Always treat routers as resuming dispatch

This commit is contained in:
Asger Feldthaus
2021-12-15 15:21:59 +01:00
parent 1b20506947
commit 0ca9feb854

View File

@@ -144,6 +144,8 @@ module Routing {
// Leaf nodes that aren't functions are assumed to invoke their continuation
not exists(getLastChild()) and
not this instanceof RouteHandler
or
this instanceof MkRouter
}
/** Gets the parent of this node, provided that this node may invoke its continuation. */