diff --git a/modules/angular2/router.ts b/modules/angular2/router.ts index 19a2913e3a..f441122234 100644 --- a/modules/angular2/router.ts +++ b/modules/angular2/router.ts @@ -4,7 +4,7 @@ * Maps application URLs into application states, to support deep-linking and navigation. */ -export {Router, RootRouter} from './src/router/router'; +export {Router} from './src/router/router'; export {RouterOutlet} from './src/router/router_outlet'; export {RouterLink} from './src/router/router_link'; export {RouteParams} from './src/router/instruction'; diff --git a/modules/angular2/test/router/integration/router_link_spec.ts b/modules/angular2/test/router/integration/router_link_spec.ts index bdab016b25..fc1bb7bbb3 100644 --- a/modules/angular2/test/router/integration/router_link_spec.ts +++ b/modules/angular2/test/router/integration/router_link_spec.ts @@ -26,7 +26,6 @@ import {SpyLocation} from 'angular2/src/mock/location_mock'; import { Location, Router, - RootRouter, RouteRegistry, RouterLink, RouterOutlet, @@ -36,6 +35,7 @@ import { RouteConfig, ROUTER_DIRECTIVES } from 'angular2/router'; +import {RootRouter} from 'angular2/src/router/router'; import {DOM} from 'angular2/src/core/dom/dom_adapter'; diff --git a/modules/angular2/test/router/router_link_spec.ts b/modules/angular2/test/router/router_link_spec.ts index 24d3f00421..83bc1d99f2 100644 --- a/modules/angular2/test/router/router_link_spec.ts +++ b/modules/angular2/test/router/router_link_spec.ts @@ -22,14 +22,14 @@ import {By} from 'angular2/src/core/debug'; import { Location, Router, - RootRouter, RouteRegistry, RouterLink, RouterOutlet, Route, - RouteParams + RouteParams, + Instruction, + ComponentInstruction } from 'angular2/router'; -import {Instruction, ComponentInstruction} from 'angular2/src/router/instruction'; import {DOM} from 'angular2/src/core/dom/dom_adapter';