Skip to content

Commit

Permalink
remove un-needed injection
Browse files Browse the repository at this point in the history
  • Loading branch information
gilsdav committed Oct 10, 2018
1 parent a352f78 commit 8bfb3dc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Inject } from '@angular/core';
import { Location } from '@angular/common';
import { Router, NavigationStart, ActivatedRouteSnapshot, NavigationExtras, UrlSegment, ActivatedRoute } from '@angular/router';
// import { Location } from '@angular/common';
import { Router, NavigationStart, ActivatedRouteSnapshot, NavigationExtras, ActivatedRoute } from '@angular/router';
import { Subject } from 'rxjs';
import { filter, pairwise } from 'rxjs/operators';

Expand All @@ -21,8 +21,8 @@ export class LocalizeRouterService {
@Inject(LocalizeParser) public parser: LocalizeParser,
@Inject(LocalizeRouterSettings) public settings: LocalizeRouterSettings,
@Inject(Router) private router: Router,
@Inject(ActivatedRoute) private route: ActivatedRoute,
@Inject(Location) private location: Location
@Inject(ActivatedRoute) private route: ActivatedRoute/*,
@Inject(Location) private location: Location*/
) {
this.routerEvents = new Subject<string>();
}
Expand Down

0 comments on commit 8bfb3dc

Please sign in to comment.