2016-08-30 14:15:25 -04:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
*/
|
|
|
|
|
|
|
|
import {ResourceLoader, platformCoreDynamic} from '@angular/compiler';
|
2016-09-27 20:12:25 -04:00
|
|
|
import {COMPILER_OPTIONS, PlatformRef, Provider, createPlatformFactory} from '@angular/core';
|
2016-08-30 14:15:25 -04:00
|
|
|
import {ResourceLoaderImpl} from './private_import_platform-browser-dynamic';
|
2016-12-06 19:21:07 -05:00
|
|
|
export {VERSION} from './version';
|
2016-08-30 14:15:25 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @experimental API related to bootstrapping are still under review.
|
|
|
|
*/
|
|
|
|
export const platformWorkerAppDynamic = createPlatformFactory(
|
|
|
|
platformCoreDynamic, 'workerAppDynamic', [{
|
|
|
|
provide: COMPILER_OPTIONS,
|
|
|
|
useValue: {providers: [{provide: ResourceLoader, useClass: ResourceLoaderImpl}]},
|
|
|
|
multi: true
|
|
|
|
}]);
|