Skip to content

Commit

Permalink
refactor(router): remove deprecated RouterOutlet properties
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `RouterOutlet` properties `locationInjector` and `locationFactoryResolver` have been removed as they were deprecated since v4.
  • Loading branch information
ocombe authored and matsko committed Sep 8, 2017
1 parent 8f79150 commit a9ef858
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions packages/router/src/directives/router_outlet.ts
Expand Up @@ -72,11 +72,6 @@ export class RouterOutlet implements OnDestroy, OnInit {
} }
} }


/** @deprecated since v4 **/
get locationInjector(): Injector { return this.location.injector; }
/** @deprecated since v4 **/
get locationFactoryResolver(): ComponentFactoryResolver { return this.resolver; }

get isActivated(): boolean { return !!this.activated; } get isActivated(): boolean { return !!this.activated; }


get component(): Object { get component(): Object {
Expand Down
2 changes: 0 additions & 2 deletions tools/public_api_guard/router/index.d.ts
Expand Up @@ -439,8 +439,6 @@ export declare class RouterOutlet implements OnDestroy, OnInit {
readonly component: Object; readonly component: Object;
deactivateEvents: EventEmitter<any>; deactivateEvents: EventEmitter<any>;
readonly isActivated: boolean; readonly isActivated: boolean;
/** @deprecated */ readonly locationFactoryResolver: ComponentFactoryResolver;
/** @deprecated */ readonly locationInjector: Injector;
constructor(parentContexts: ChildrenOutletContexts, location: ViewContainerRef, resolver: ComponentFactoryResolver, name: string, changeDetector: ChangeDetectorRef); constructor(parentContexts: ChildrenOutletContexts, location: ViewContainerRef, resolver: ComponentFactoryResolver, name: string, changeDetector: ChangeDetectorRef);
activateWith(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver | null): void; activateWith(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver | null): void;
attach(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): void; attach(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): void;
Expand Down

0 comments on commit a9ef858

Please sign in to comment.