From 669900d83234a082e0dffe5e53173fd1a9d99008 Mon Sep 17 00:00:00 2001 From: Oleksandr Telnov Date: Wed, 22 Jun 2016 16:47:37 +0300 Subject: [PATCH] feat(package): angular updated to rc3, fix hash (active route) --- .../main-menu/main-menu.component.ts | 4 ++-- package.json | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/demo/components/main-menu/main-menu.component.ts b/demo/components/main-menu/main-menu.component.ts index e8e6e26fa0..4d8d2a0058 100644 --- a/demo/components/main-menu/main-menu.component.ts +++ b/demo/components/main-menu/main-menu.component.ts @@ -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); } } diff --git a/package.json b/package.json index e7102187de..2fa6d760e9 100644 --- a/package.json +++ b/package.json @@ -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",