Skip to content

Commit 15c0c45

Browse files
authored
Merge pull request #145 from NativeScript/ns-ng-1.3.0
Update code for nativescript-angular@1.3.0
2 parents 43e9578 + 7feec82 commit 15c0c45

File tree

48 files changed

+151
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+151
-143
lines changed

app/app.module.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
// >> (hide)
44
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
55
import { NgModule, NO_ERRORS_SCHEMA, NgModuleFactoryLoader } from "@angular/core";
6-
import { NativeScriptRouterModule } from "nativescript-angular/router";
6+
import { NativeScriptRouterModule, NSModuleFactoryLoader } from "nativescript-angular/router";
77
import { NativeScriptFormsModule } from "nativescript-angular/forms";
88

99
import { routes } from "./app.routes";
1010
import { AppComponent } from "./app.component";
1111
// << (hide)
12-
import { NsModuleFactoryLoader } from "./ns-module-factory-loader";
1312
import { ModalDialogService } from "nativescript-angular/modal-dialog";
1413
import { registerElement } from "nativescript-angular/element-registry";
1514
import { TnsGoogleMaps } from "nativescript-googlemaps";
@@ -31,7 +30,7 @@ declare var GMSServices: any;
3130
],
3231
providers: [
3332
ModalDialogService,
34-
{ provide: NgModuleFactoryLoader, useClass: NsModuleFactoryLoader }
33+
{ provide: NgModuleFactoryLoader, useClass: NSModuleFactoryLoader }
3534
]
3635
})
3736
// << ngmodule-config

app/application-settings/application-settings-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ApplicationSettingsExamplesComponent } from "./application-settings-examples.component";
55
import { ValuesExampleComponent } from "./values/values.component";
66
import { TitleAndNavButtonModule } from "../directives/title-and-nav-button.module";

app/application/application-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ApplicationExamplesComponent } from "./application-examples.component";
55
import { AppCheckingTargetExampleComponent } from "./app-checking-target/app-checking-target.component";
66
import { AppUsingAndroidExampleComponent } from "./app-using-android-specifics/app-using-android-specifics.component";

app/camera/camera-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { CameraExamplesComponent } from "./camera-examples.component";
55
import { UsingCameraExampleComponent } from "./using-camera/using-camera.component";
66
import { TitleAndNavButtonModule } from "../directives/title-and-nav-button.module";

app/color/color-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { NativeScriptFormsModule } from "nativescript-angular/forms";
55
import { ColorExamplesComponent } from "./color-examples.component";
66
import { CreatingColorsExampleComponent } from "./creating-colors/creating-colors.component";

app/common-screens-category/content-screens/content-screens-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ContentScreensExamplesComponent } from "./content-screens-examples.component";
55
import { ContentScrollablePageExampleComponent } from "./content-scrollable/content-scrollable-example.component";
66
import { TitleAndNavButtonModule } from "../../directives/title-and-nav-button.module";

app/common-screens-category/dataentry/extended-dataentry-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ExtendedDataEntryExamplesComponent } from "./extended-dataentry-examples.component";
55
import { SignupDataEntryExampleComponent } from "./dataentry-signup/dataentry-signup.component";
66
import { SocialLoginDataEntryExampleComponent } from "./dataentry-sociallogin/dataentry-sociallogin.component";

app/common-screens-category/lists-category/extended-listview-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ExtendedListViewExamplesComponent } from "./extended-listview-examples.component";
55
import { CardsListViewExampleComponent } from "./cards/cards-listview.component";
66
import { HeaderWithMapExampleComponent } from "./header-with-map/header-with-map.component";

app/common-screens-category/userprofile/extended-userprofile-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ExtendedUserProfileExamplesComponent } from "./extended-userprofile-examples.component";
55
import { UserFeedExampleComponent } from "./user-feed/user-feed.component";
66
import { UserFeedImagesExampleComponent } from "./user-feed-images/user-feed-images.component";

app/connectivity/connectivity-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ConnectivityExamplesComponent } from "./connectivity-examples.component";
55
import { UsingConnectivityExampleComponent } from "./using-connectivity/using-connectivity.component";
66
import { TitleAndNavButtonModule } from "../directives/title-and-nav-button.module";

0 commit comments

Comments
 (0)