Revert "docs: deprecate `DynamicComponentLoader` and `DebugNode.inject`"

This reverts commit a0b5964a63.
This commit is contained in:
Tobias Bosch 2016-04-29 01:36:58 -07:00
parent a0b5964a63
commit ee7caceec7
2 changed files with 1 additions and 8 deletions

View File

@ -38,11 +38,6 @@ export class DebugNode {
get source(): string { return isPresent(this._debugInfo) ? this._debugInfo.source : null; }
/**
* Use injector.get(token) instead.
*
* @deprecated
*/
inject(token: any): any { return this.injector.get(token); }
}

View File

@ -10,9 +10,7 @@ import {ComponentRef} from './component_factory';
import {ViewContainerRef} from './view_container_ref';
/**
* Use ComponentResolver and ViewContainerRef directly.
*
* @deprecated
* Service for instantiating a Component and attaching it to a View at a specified location.
*/
export abstract class DynamicComponentLoader {
/**