Skip to content

Commit c876747

Browse files
vchimevvakrilov
authored and
vakrilov
committed
refactor: roterLog in onTap method
1 parent 1fb5973 commit c876747

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: nativescript-angular/router/ns-router-link.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ export class NSRouterLink { // tslint:disable-line:directive-class-suffix
6969

7070
@HostListener("tap")
7171
onTap() {
72-
routerLog(`nsRouterLink.tapped: ${this.commands}
73-
clear: ${this.clearHistory}
74-
transition: ${JSON.stringify(this.pageTransition)}
75-
duration: ${this.pageTransitionDuration}`);
72+
routerLog(`nsRouterLink.tapped: ${this.commands} ` +
73+
`clear: ${this.clearHistory} ` +
74+
`transition: ${JSON.stringify(this.pageTransition)} ` +
75+
`duration: ${this.pageTransitionDuration}`);
7676

7777
const extras = this.getExtras();
7878
this.navigator.navigateByUrl(this.urlTree, extras);

0 commit comments

Comments
 (0)