()
| 32 | function noop() {} |
| 33 | |
| 34 | function init() { |
| 35 | initTreeUtils(); |
| 36 | enableProdMode(); |
| 37 | |
| 38 | const appModule = createAppModule(); |
| 39 | |
| 40 | platformBrowser() |
| 41 | .bootstrapModule(appModule) |
| 42 | .then((ref) => { |
| 43 | const injector = ref.injector; |
| 44 | |
| 45 | appRef = injector.get(ApplicationRef); |
| 46 | tree = appRef.components[0].instance; |
| 47 | |
| 48 | bindAction('#destroyDom', destroyDom); |
| 49 | bindAction('#createDom', createDom); |
| 50 | bindAction('#updateDomProfile', profile(createDom, noop, 'update')); |
| 51 | bindAction('#createDomProfile', profile(createDom, destroyDom, 'create')); |
| 52 | }); |
| 53 | } |
| 54 | |
| 55 | init(); |
no test coverage detected
searching dependent graphs…