Skip to content

Commit c5701c2

Browse files
authored
chore(mobile): add comments to main-app-shell.ts (#1477)
1 parent 42feea9 commit c5701c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

addon/ng2/blueprints/mobile/files/__path__/main-app-shell.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,13 @@ const appConfig: AppConfig = {
3434
]
3535
}
3636

37+
// The build system will call this function to get a bootloader
3738
export function getBootloader() : Bootloader {
3839
return new Bootloader(bootloaderConfig);
3940
}
4041

42+
// The build system will call this function with the bootloader from
43+
// getBootloader and the contents of the index page
4144
export function serialize(bootloader: Bootloader, template: string) : string {
4245
appConfig.template = template;
4346
return bootloader.serializeApplication(appConfig);

0 commit comments

Comments
 (0)