2016-06-23 09:47:54 -07: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
|
|
|
|
*/
|
|
|
|
|
2016-08-15 13:44:01 -07:00
|
|
|
import {NgModule} from '@angular/core';
|
2016-08-19 12:51:01 -07:00
|
|
|
import {FormsModule} from '@angular/forms';
|
2016-08-30 11:15:25 -07:00
|
|
|
import {WorkerAppModule} from '@angular/platform-webworker';
|
|
|
|
import {platformWorkerAppDynamic} from '@angular/platform-webworker-dynamic';
|
2015-07-10 16:09:18 -07:00
|
|
|
|
2016-08-05 09:56:53 -07:00
|
|
|
import {TodoApp} from './index_common';
|
|
|
|
|
2016-08-19 12:51:01 -07:00
|
|
|
@NgModule({imports: [WorkerAppModule, FormsModule], bootstrap: [TodoApp], declarations: [TodoApp]})
|
2016-08-15 13:44:01 -07:00
|
|
|
class ExampleModule {
|
|
|
|
}
|
|
|
|
|
2015-07-10 16:09:18 -07:00
|
|
|
export function main() {
|
2016-08-15 13:44:01 -07:00
|
|
|
platformWorkerAppDynamic().bootstrapModule(ExampleModule);
|
2015-07-10 16:09:18 -07:00
|
|
|
}
|