refactor(core): remove deprecated coreBootstrap and coreLoadAndBootstrap

BREAKING CHANGE: previously deprecated coreBootstrap and coreLoadAndBootstrap have been removed.

Please follow deprecation instructions to migrate your code.
This commit is contained in:
Igor Minar
2016-08-12 15:56:40 -07:00
committed by Vikram Subramanian
parent f84c3fdc5f
commit 3329977ec9
3 changed files with 1 additions and 30 deletions

View File

@ -143,29 +143,6 @@ export function getPlatform(): PlatformRef {
return isPresent(_platform) && !_platform.destroyed ? _platform : null;
}
/**
* Shortcut for ApplicationRef.bootstrap.
* Requires a platform to be created first.
*
* @deprecated Use {@link bootstrapModuleFactory} instead.
*/
export function coreBootstrap<C>(
componentFactory: ComponentFactory<C>, injector: Injector): ComponentRef<C> {
throw new BaseException('coreBootstrap is deprecated. Use bootstrapModuleFactory instead.');
}
/**
* Resolves the componentFactory for the given component,
* waits for asynchronous initializers and bootstraps the component.
* Requires a platform to be created first.
*
* @deprecated Use {@link bootstrapModule} instead.
*/
export function coreLoadAndBootstrap(
componentType: Type<any>, injector: Injector): Promise<ComponentRef<any>> {
throw new BaseException('coreLoadAndBootstrap is deprecated. Use bootstrapModule instead.');
}
/**
* The Angular platform is the entry point for Angular on a web page. Each page
* has exactly one platform, and services (such as reflection) which are common