Skip to content

Commit

Permalink
feat(package): angular updated to rc3, fix hash (active route) (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
otelnov authored and valorkin committed Jun 23, 2016
1 parent 7adb3dc commit 70a84cf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions demo/components/main-menu/main-menu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export class MainMenuComponent {
public routes:any = routes;
public router:Router;
public search:any = {};
public hash: string = '';
public hash:string = '';

public constructor(@Inject(Router) router:Router) {
this.router = router;
this.router.subscribe((hash:string)=>this.hash = hash);
this.router.subscribe((hash:any)=>this.hash = hash.instruction.urlPath);
}
}
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@
"moment": "2.13.0"
},
"peerDependencies": {
"@angular/common": "^2.0.0-rc.1",
"@angular/compiler": "^2.0.0-rc.1",
"@angular/core": "^2.0.0-rc.1"
"@angular/common": "2.0.0-rc.3",
"@angular/compiler": "2.0.0-rc.3",
"@angular/core": "2.0.0-rc.3"
},
"devDependencies": {
"@angular/common": "^2.0.0-rc.1",
"@angular/compiler": "^2.0.0-rc.1",
"@angular/core": "^2.0.0-rc.1",
"@angular/platform-browser": "^2.0.0-rc.1",
"@angular/platform-browser-dynamic": "^2.0.0-rc.1",
"@angular/router-deprecated": "2.0.0-rc.1",
"@angular/common": "2.0.0-rc.3",
"@angular/compiler": "2.0.0-rc.3",
"@angular/core": "2.0.0-rc.3",
"@angular/platform-browser": "2.0.0-rc.3",
"@angular/platform-browser-dynamic": "2.0.0-rc.3",
"@angular/router-deprecated": "2.0.0-rc.2",
"async": "1.5.2",
"bootstrap": "3.3.6",
"codecov": "1.0.1",
Expand Down

0 comments on commit 70a84cf

Please sign in to comment.