Skip to content

Commit eee7ce3

Browse files
authored
feat: update to Angular 6 (#34)
1 parent a90615c commit eee7ce3

11 files changed

+93
-6953
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ report
77

88
app/**/*.js
99
app/**/*.map
10+
package-lock.json

Diff for: app/app.module.ts

-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { NgModule, NgModuleFactoryLoader, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
3-
import { NSModuleFactoryLoader } from "nativescript-angular/router";
43

54
import { NavigationMainPageRouterComponent } from "./main/main-page-router-outlet";
65
import { routableComponents, routes } from "./app.routes";
@@ -23,12 +22,6 @@ import { CustomTemplateComponent } from "./list-view/list-view-item-template.com
2322
NativeScriptRouterModule,
2423
NativeScriptRouterModule.forRoot(routes),
2524
],
26-
providers: [
27-
{
28-
provide: NgModuleFactoryLoader,
29-
useClass: NSModuleFactoryLoader
30-
}
31-
],
3225
schemas: [NO_ERRORS_SCHEMA],
3326
})
3427
export class AppModule { }

Diff for: app/button/button-text-alignment.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Observable as RxObservable } from "rxjs/Observable";
1+
import { Observable as RxObservable } from "rxjs";
22
import {
33
Component,
44
Input,

Diff for: app/list-view/async-pipe-template.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Observable as RxObservable } from "rxjs/Observable";
1+
import { Observable as RxObservable } from "rxjs";
22
import { Component, Input, ChangeDetectionStrategy } from "@angular/core";
33
import { DataItem } from "./data-item";
44

Diff for: app/list-view/multiple-templates.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Observable as RxObservable } from "rxjs/Observable";
1+
import { Observable as RxObservable } from "rxjs";
22
import { Component, Input, ChangeDetectionStrategy } from "@angular/core";
33
import { DataItem } from "./data-item";
44

Diff for: app/vendor-platform.android.ts

-9
This file was deleted.

Diff for: app/vendor-platform.ios.ts

-2
This file was deleted.

Diff for: app/vendor.ts

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ const appCssContext = require.context("~/", false, /^\.\/app\.(css|scss|less|sas
55
global.registerWebpackModules(appCssContext);
66
application.loadAppCss();
77

8-
require("./vendor-platform");
9-
108
require("reflect-metadata");
119
require("@angular/platform-browser");
1210
require("@angular/core");

0 commit comments

Comments
 (0)