simple-boot-core
Advanced tools
Comparing version 1.0.13 to 1.0.14
{ | ||
"name": "simple-boot-core", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"main": "SimpleApplication.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -48,6 +48,7 @@ "use strict"; | ||
RouterManager.prototype.routing = function (intent) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var routers, rootRouter, executeModule, notFound, _i, _a, route, nf, _b; | ||
return __generator(this, function (_c) { | ||
switch (_c.label) { | ||
var routers, rootRouter, executeModule, notFound, _i, _b, route, nf, _c; | ||
return __generator(this, function (_d) { | ||
switch (_d.label) { | ||
case 0: | ||
@@ -59,4 +60,4 @@ routers = []; | ||
notFound = void 0; | ||
for (_i = 0, _a = routers.slice().reverse(); _i < _a.length; _i++) { | ||
route = _a[_i]; | ||
for (_i = 0, _b = routers.slice().reverse(); _i < _b.length; _i++) { | ||
route = _b[_i]; | ||
if (route !== rootRouter) { | ||
@@ -75,6 +76,6 @@ nf = route.notFound(intent); | ||
executeModule.routerChains = routers; | ||
_b = executeModule; | ||
_c = executeModule; | ||
return [4, executeModule.router.canActivate(intent, executeModule)]; | ||
case 1: | ||
_b.module = _c.sent(); | ||
_c.module = (_a = (_d.sent())) !== null && _a !== void 0 ? _a : executeModule.module; | ||
return [2, this.activeRouterModule = executeModule]; | ||
@@ -81,0 +82,0 @@ case 2: return [2, undefined]; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82562
1869