File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2
2
* This is the main entry-point for the AOT compilation. File will be used to test AOT support.
3
3
*/
4
4
5
- import { platformBrowserDynamic } from '@angular/platform-browser-dynamic ' ;
5
+ import { platformBrowser } from '@angular/platform-browser' ;
6
6
import { DemoAppModuleNgFactory } from './demo-app-module.ngfactory' ;
7
7
8
- platformBrowserDynamic ( ) . bootstrapModuleFactory ( DemoAppModuleNgFactory ) ;
8
+ platformBrowser ( ) . bootstrapModuleFactory ( DemoAppModuleNgFactory ) ;
Original file line number Diff line number Diff line change 24
24
25
25
< script >
26
26
System . import ( 'system-config.js' ) . then ( function ( ) {
27
- System . import ( 'main-aot ' ) ;
27
+ System . import ( 'main' ) ;
28
28
} ) . catch ( console . error . bind ( console ) ) ;
29
29
</ script >
30
30
</ body >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import { platformBrowser } from '@angular/platform-browser' ;
2
+ import { E2eAppModuleNgFactory } from './e2e-app-module.ngfactory' ;
3
+
4
+ platformBrowser ( ) . bootstrapModuleFactory ( E2eAppModuleNgFactory ) ;
Original file line number Diff line number Diff line change 26
26
"files" : [
27
27
" ./e2e-app-module.ts" ,
28
28
" ./e2e-app-types.d.ts" ,
29
- " ./main-aot .ts" ,
29
+ " ./main.ts" ,
30
30
" ./system-config.ts"
31
31
],
32
32
"angularCompilerOptions" : {
You can’t perform that action at this time.
0 commit comments