fix(compiler): remove deprecated Compiler.ngGetContentSelectors() (#19347)

BREAKING CHANGE:

The method `ngGetConentSelectors()`, deprecated in Angular 4.0, has been
removed.

Use `ComponentFactory.ngContentSelectors` instead.
This commit is contained in:
Chuck Jazdzewski
2017-09-26 10:18:10 -07:00
committed by Victor Berchet
parent 2cf52c1b55
commit f57b7df4d7
5 changed files with 0 additions and 28 deletions

View File

@ -71,9 +71,6 @@ export class CompilerImpl implements Compiler {
componentFactories: result.componentFactories as ComponentFactory<any>[],
}));
}
getNgContentSelectors(component: Type<any>): string[] {
return this._delegate.getNgContentSelectors(component);
}
loadAotSummaries(summaries: () => any[]) { this._delegate.loadAotSummaries(summaries); }
hasAotSummary(ref: Type<any>): boolean { return this._delegate.hasAotSummary(ref); }
getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {

View File

@ -57,10 +57,6 @@ export class TestingCompilerImpl implements TestingCompiler {
return this._compiler.compileModuleAndAllComponentsAsync(moduleType);
}
getNgContentSelectors(component: Type<any>): string[] {
return this._compiler.getNgContentSelectors(component);
}
getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {
return this._compiler.getComponentFactory(component);
}