From 7e675780ea2ac36268ca6c03d06d18327cf7b521 Mon Sep 17 00:00:00 2001 From: Ruby Boyarski Date: Sat, 30 Apr 2016 11:13:57 +0300 Subject: [PATCH] fix: Fixed tabs-routing according to angular2.beta-17 breaking changes --- app/components/tabs-routing.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/tabs-routing.ts b/app/components/tabs-routing.ts index 5f52d32..3e9b2f6 100644 --- a/app/components/tabs-routing.ts +++ b/app/components/tabs-routing.ts @@ -1,7 +1,8 @@ import {MaterializeDirective} from "../../src/index"; import {Component,OnDestroy} from "angular2/core" import {Subscription} from "rxjs/subscription"; -import {Router, RouteConfig, Location, ROUTER_DIRECTIVES} from "angular2/router"; +import {Router, RouteConfig, ROUTER_DIRECTIVES} from "angular2/router"; +import {Location} from 'angular2/platform/common'; @Component({selector: "tabs-test1",template: `
Test 1
`}) class TabsTest1 {}