We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7120e3 commit 2a6b36aCopy full SHA for 2a6b36a
1 file changed
js/ui/core.js
@@ -419,7 +419,6 @@ class Router extends EventTarget {
419
/** @param {!RouteEvent} e */
420
handleFail(e) {
421
this.dispatchEvent(e);
422
- const target = /** @type {!Route} */(e.target);
423
this.unlistenRoute();
424
}
425
@@ -746,7 +745,7 @@ class App extends Component {
746
745
this.registerDisposable(this.kbd_);
747
748
/** @const @private @type {!Router} */
749
- var router = this.router_ = new Router(this, this.history_);
+ var router = this.router_ = new Router(this);
750
this.registerDisposable(router);
751
752
0 commit comments