diff --git a/public/docs/_examples/cb-aot-compiler/ts/app/main-jit.ts b/public/docs/_examples/cb-aot-compiler/ts/app/main-jit.ts index 2a7981d0c5..c9ea625647 100644 --- a/public/docs/_examples/cb-aot-compiler/ts/app/main-jit.ts +++ b/public/docs/_examples/cb-aot-compiler/ts/app/main-jit.ts @@ -1,6 +1,6 @@ // #docregion import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; - import { AppModule } from './app.module'; +console.log('Running JIT compiled'); platformBrowserDynamic().bootstrapModule(AppModule); diff --git a/public/docs/_examples/cb-aot-compiler/ts/app/main.ts b/public/docs/_examples/cb-aot-compiler/ts/app/main.ts index f5a9e94209..7df1f6bf8f 100644 --- a/public/docs/_examples/cb-aot-compiler/ts/app/main.ts +++ b/public/docs/_examples/cb-aot-compiler/ts/app/main.ts @@ -1,6 +1,6 @@ // #docregion import { platformBrowser } from '@angular/platform-browser'; - import { AppModuleNgFactory } from '../aot/app/app.module.ngfactory'; +console.log('Running AOT compiled'); platformBrowser().bootstrapModuleFactory(AppModuleNgFactory); diff --git a/public/docs/_examples/cb-aot-compiler/ts/index-jit.html b/public/docs/_examples/cb-aot-compiler/ts/index-jit.html new file mode 100644 index 0000000000..8de2fc51c7 --- /dev/null +++ b/public/docs/_examples/cb-aot-compiler/ts/index-jit.html @@ -0,0 +1,23 @@ + + + +
+