@frui.ts/screens
Advanced tools
Comparing version 0.15.0-beta.5 to 0.15.0-beta.6
@@ -33,6 +33,6 @@ "use strict"; | ||
function Router() { | ||
this.routes = new Map(); | ||
} | ||
Router.prototype.start = function (rootViewModel) { | ||
this.rootViewModel = rootViewModel; | ||
this.routes = new Map(); | ||
var rootKey = this.findRootRouteKey(); | ||
@@ -61,2 +61,5 @@ if (rootKey) { | ||
} | ||
else { | ||
console.warn("Router could not find route", { routeName: routeName, routeParams: routeParams, queryParams: queryParams }); | ||
} | ||
}; | ||
@@ -63,0 +66,0 @@ Router.prototype.findRootRouteKey = function () { |
@@ -6,3 +6,4 @@ import ConductorBaseWithActiveChild from "./conductorBaseWithActiveChild"; | ||
protected onDeactivate(isClosing: boolean): Promise<void>; | ||
protected abstract findNavigationChild(navigationName: string | undefined): Promise<TChild | undefined> | TChild | undefined; | ||
protected onChildNavigated(child: TChild | undefined): Promise<void>; | ||
} |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "0.15.0-beta.5", | ||
"version": "0.15.0-beta.6", | ||
"description": "Frui.ts core classes for application structure and navigation", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@frui.ts/helpers": "^0.15.0-beta.5", | ||
"@frui.ts/helpers": "^0.15.0-beta.6", | ||
"query-string": "^6.9.0", | ||
@@ -49,3 +49,3 @@ "route-parser": "^0.0.5" | ||
}, | ||
"gitHead": "e9e49d06ec4ffabd162f27edadce019b4031d2c9" | ||
"gitHead": "80cf5a737f5eb5403a155fd4a2e2f36d81c50264" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
158479
1918