This commit is contained in:
the-djmaze 2022-09-08 10:07:27 +02:00
parent 9dcdd7e41c
commit 18096cb6ee
11 changed files with 28 additions and 26 deletions

View file

@ -31,7 +31,7 @@ export class AbstractScreen {
let route = new Crossroads(),
fMatcher = (this.onRoute || (()=>0)).bind(this);
routes.forEach(item => item && route && (route.addRoute(item[0], fMatcher).rules = item[1]));
routes.forEach(item => item && (route.addRoute(item[0], fMatcher).rules = item[1]));
this.__cross = route;
}