Skip to content

Commit 8554c8e

Browse files
author
vakrilov
committed
reorder imports
1 parent e6b8b72 commit 8554c8e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ng-sample/app/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
//import * as profiling from "./profiling";
66
//profiling.start('application-start');
77

8-
// this import should be first in order to load some required settings (like globals and reflect-metadata)
9-
import { Router } from "@angular/router";
8+
// "nativescript-angular/application" import should be first in order to load some required settings (like globals and reflect-metadata)
109
import { nativeScriptBootstrap, onAfterLivesync, onBeforeLivesync } from "nativescript-angular/application";
10+
import { Router } from "@angular/router";
1111
import { NS_ROUTER_PROVIDERS as NS_ROUTER_PROVIDERS_DEPRECATED } from "nativescript-angular/router-deprecated";
1212
import { NS_ROUTER_PROVIDERS } from "nativescript-angular/router";
1313
import { HTTP_PROVIDERS } from "@angular/http";

tests/app/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// this import should be first in order to load some required settings (like globals and reflect-metadata)
1+
// "nativescript-angular/application" import should be first in order to load some required settings (like globals and reflect-metadata)
22
import {nativeScriptBootstrap, bootstrap} from "nativescript-angular/application";
33
import {AppComponent} from "./app.component";
44
import {GestureComponent} from "./snippets/gestures.component";

0 commit comments

Comments
 (0)