Skip to content

Commit ed203fe

Browse files
committed
Address comments
1 parent b6502bb commit ed203fe

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/demo-app/main-aot.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* This is the main entry-point for the AOT compilation. File will be used to test AOT support.
33
*/
44

5-
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
5+
import {platformBrowser} from '@angular/platform-browser';
66
import {DemoAppModuleNgFactory} from './demo-app-module.ngfactory';
77

8-
platformBrowserDynamic().bootstrapModuleFactory(DemoAppModuleNgFactory);
8+
platformBrowser().bootstrapModuleFactory(DemoAppModuleNgFactory);

src/e2e-app/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<script>
2626
System.import('system-config.js').then(function () {
27-
System.import('main-aot');
27+
System.import('main');
2828
}).catch(console.error.bind(console));
2929
</script>
3030
</body>

src/e2e-app/main-aot.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/e2e-app/main.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import {platformBrowser} from '@angular/platform-browser';
2+
import {E2eAppModuleNgFactory} from './e2e-app-module.ngfactory';
3+
4+
platformBrowser().bootstrapModuleFactory(E2eAppModuleNgFactory);

src/e2e-app/tsconfig-build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"files": [
2727
"./e2e-app-module.ts",
2828
"./e2e-app-types.d.ts",
29-
"./main-aot.ts",
29+
"./main.ts",
3030
"./system-config.ts"
3131
],
3232
"angularCompilerOptions": {

0 commit comments

Comments
 (0)