From aec01b57490ecfd634dd28714083719d24d06227 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Thu, 28 Jul 2016 16:26:13 +0100 Subject: [PATCH] chore(mobile): add comments to main-app-shell.ts --- addon/ng2/blueprints/mobile/files/__path__/main-app-shell.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addon/ng2/blueprints/mobile/files/__path__/main-app-shell.ts b/addon/ng2/blueprints/mobile/files/__path__/main-app-shell.ts index 7d266b8426a4..d3e009cb19c5 100644 --- a/addon/ng2/blueprints/mobile/files/__path__/main-app-shell.ts +++ b/addon/ng2/blueprints/mobile/files/__path__/main-app-shell.ts @@ -34,10 +34,13 @@ const appConfig: AppConfig = { ] } +// The build system will call this function to get a bootloader export function getBootloader() : Bootloader { return new Bootloader(bootloaderConfig); } +// The build system will call this function with the bootloader from +// getBootloader and the contents of the index page export function serialize(bootloader: Bootloader, template: string) : string { appConfig.template = template; return bootloader.serializeApplication(appConfig);