parent
8c1a041411
commit
a5a1f4f52f
|
@ -5,13 +5,14 @@
|
||||||
* Use of this source code is governed by an MIT-style license that can be
|
* 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
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
import {enableProdMode} from '@angular/core';
|
||||||
import {platformBrowser} from '@angular/platform-browser';
|
import {platformBrowser} from '@angular/platform-browser';
|
||||||
|
|
||||||
import {ExpandingRowBenchmarkModule} from './benchmark';
|
import {ExpandingRowBenchmarkModule} from './benchmark';
|
||||||
import {ExpandingRowBenchmarkModuleNgFactory} from './benchmark.ngfactory';
|
import {ExpandingRowBenchmarkModuleNgFactory} from './benchmark.ngfactory';
|
||||||
|
|
||||||
setMode(ExpandingRowBenchmarkModule.hasOwnProperty('ngModuleDef') ? 'Ivy' : 'ViewEngine');
|
setMode(ExpandingRowBenchmarkModule.hasOwnProperty('ngModuleDef') ? 'Ivy' : 'ViewEngine');
|
||||||
|
enableProdMode();
|
||||||
platformBrowser().bootstrapModuleFactory(ExpandingRowBenchmarkModuleNgFactory);
|
platformBrowser().bootstrapModuleFactory(ExpandingRowBenchmarkModuleNgFactory);
|
||||||
|
|
||||||
function setMode(name: string): void {
|
function setMode(name: string): void {
|
||||||
|
|
Loading…
Reference in New Issue