
This was done automatically by tslint, which can now fix issues it finds. The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568 Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569 which causes too many imports to be deleted.
23 lines
786 B
TypeScript
23 lines
786 B
TypeScript
/**
|
|
* @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';
|
|
import {COMPILER_OPTIONS, PlatformRef, Provider, createPlatformFactory} from '@angular/core';
|
|
import {ResourceLoaderImpl} from './private_import_platform-browser-dynamic';
|
|
|
|
|
|
/**
|
|
* @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
|
|
}]);
|