Skip to content

Commit

Permalink
chore: applying a fix for Angular 8 breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NickIliev committed May 30, 2019
1 parent f97ce8e commit 959503a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
7 changes: 3 additions & 4 deletions app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,18 @@ import { isAndroid, isIOS } from "tns-core-modules/platform";
import { Button } from "tns-core-modules/ui/button";
import { EventData } from "tns-core-modules/data/observable";
import { translateViewByXandYwithDurationAndCurve } from "./shared/animations-helper";
import { Color } from "tns-core-modules/color";

declare let TKSideDrawerShadowModeHostview: any;
declare let TKSideDrawerBlurTypeNone: any;
declare let TKSolidFill: any;
// declare let TKSideDrawerBlurTypeNone: any;
// declare let TKSolidFill: any;

@Component({
selector: "cosmos-app",
templateUrl: "app.component.html",
styleUrls: ["./app.component.css"]
})
export class AppComponent implements OnInit, AfterViewInit {
@ViewChild(RadSideDrawerComponent) drawerComponent: RadSideDrawerComponent;
@ViewChild(RadSideDrawerComponent, { static: false }) drawerComponent: RadSideDrawerComponent;
private _drawer: RadSideDrawer;
isUserLogged: boolean = false; // hide & show LOGOUT button option

Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
}
},
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/forms": "~7.2.0",
"@angular/http": "~7.2.0",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"@angular/animations": "8.0.0",
"@angular/common": "8.0.0",
"@angular/compiler": "8.0.0",
"@angular/core": "8.0.0",
"@angular/forms": "8.0.0",
"@angular/http": "8.0.0-beta.10",
"@angular/platform-browser": "8.0.0",
"@angular/platform-browser-dynamic": "8.0.0",
"@angular/router": "8.0.0",
"nativescript-angular": "next",
"nativescript-app-center": "^1.0.3",
"nativescript-cardview": "^3.1.1",
Expand All @@ -31,7 +31,7 @@
"nativescript-theme-core": "^1.0.6",
"nativescript-ui-sidedrawer": "^6.0.0",
"reflect-metadata": "~0.1.13",
"rxjs": "^6.5.2",
"rxjs": "^6.3.3",
"tns-core-modules": "next",
"zone.js": "^0.8.4"
},
Expand Down

0 comments on commit 959503a

Please sign in to comment.