Skip to content

Commit ffc2f52

Browse files
committed
refactor: break long lines into multiple lines
1 parent 30fa30b commit ffc2f52

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

src/add-ns/_ns-files/__sourceDir__/main__nsext__.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ import { platformNativeScriptDynamic } from 'nativescript-angular/platform';
33

44
import { <%= entryModuleClassName %> } from '<%= entryModuleImportPath %>';
55

6-
// A traditional NativeScript application starts by initializing global objects, setting up global CSS rules, creating, and navigating to the main page.
7-
// Angular applications need to take care of their own initialization: modules, components, directives, routes, DI providers.
8-
// A NativeScript Angular app needs to make both paradigms work together, so we provide a wrapper platform object, platformNativeScriptDynamic,
6+
// A traditional NativeScript application starts by initializing global objects,
7+
// setting up global CSS rules, creating, and navigating to the main page.
8+
// Angular applications need to take care of their own initialization: modules, components, directives, routes, DI providers.
9+
// A NativeScript Angular app needs to make both paradigms work together,
10+
// so we provide a wrapper platform object, platformNativeScriptDynamic,
911
// that sets up a NativeScript application and can bootstrap the Angular framework.
1012
platformNativeScriptDynamic().bootstrapModule(<%= entryModuleClassName %>);

src/ng-new/shared/_files/__sourcedir__/main.tns.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ import { platformNativeScriptDynamic } from 'nativescript-angular/platform';
33

44
import { AppModule } from '@src/app/app.module';
55

6-
// A traditional NativeScript application starts by initializing global objects, setting up global CSS rules, creating, and navigating to the main page.
7-
// Angular applications need to take care of their own initialization: modules, components, directives, routes, DI providers.
8-
// A NativeScript Angular app needs to make both paradigms work together, so we provide a wrapper platform object, platformNativeScriptDynamic,
6+
// A traditional NativeScript application starts by initializing global objects,
7+
// setting up global CSS rules, creating, and navigating to the main page.
8+
// Angular applications need to take care of their own initialization: modules, components, directives, routes, DI providers.
9+
// A NativeScript Angular app needs to make both paradigms work together,
10+
// so we provide a wrapper platform object, platformNativeScriptDynamic,
911
// that sets up a NativeScript application and can bootstrap the Angular framework.
1012
platformNativeScriptDynamic().bootstrapModule(AppModule);

0 commit comments

Comments
 (0)