Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix(deps): Update dependencies, remove noused code from app.component
Browse files Browse the repository at this point in the history
  • Loading branch information
EndyKaufman committed Apr 24, 2017
1 parent 528a221 commit f3fee28
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 20 deletions.
7 changes: 2 additions & 5 deletions demo/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ import { Router, NavigationStart, NavigationEnd } from '@angular/router';
export class DemoAppComponent extends AppComponent {
@Input()
autoLoadLang?: boolean = true;

public pleaseWaitVisible: boolean = false;

public constructor(
public viewContainerRef: ViewContainerRef,
public app: AppService,
Expand Down Expand Up @@ -45,7 +47,6 @@ export class DemoAppComponent extends AppComponent {
}
});
}

init() {
if (window && window['loading_screen'] && window['loading_screen'].finish !== false) {
window['loading_screen'].finish();
Expand All @@ -59,8 +60,4 @@ export class DemoAppComponent extends AppComponent {
let browserLang: string = this.translateService.getBrowserLang();
this.translateService.use(browserLang.match(/en|ru/) ? browserLang : 'ru');
}
prepareRouteTransition(outlet) {
const animationData = outlet.activeRouteData['animation'];
return animationData ? animationData['value'] : null;
}
}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@
"prepare": "npm-run-all extract_translate po2ts make_ts_list"
},
"dependencies": {
"@angular/animations": "^4.0.2",
"@angular/common": "^4.0.2",
"@angular/compiler": "^4.0.2",
"@angular/core": "^4.0.2",
"@angular/forms": "^4.0.2",
"@angular/http": "^4.0.2",
"@angular/platform-browser": "^4.0.2",
"@angular/platform-browser-dynamic": "^4.0.2",
"@angular/router": "^4.0.2",
"@angular/animations": "^4.0.3",
"@angular/common": "^4.0.3",
"@angular/compiler": "^4.0.3",
"@angular/core": "^4.0.3",
"@angular/forms": "^4.0.3",
"@angular/http": "^4.0.3",
"@angular/platform-browser": "^4.0.3",
"@angular/platform-browser-dynamic": "^4.0.3",
"@angular/router": "^4.0.3",
"@biesbjerg/ng2-translate-po-loader": "^0.2.1",
"@ngui/auto-complete": "^0.13.2",
"@ngx-translate/core": "^6.0.1",
"@types/jasmine": "2.5.41",
"@types/lodash": "^4.14.62",
"@types/lodash": "^4.14.63",
"@types/marked": "0.0.28",
"@types/node": "7.0.12",
"@types/requirejs": "^2.1.29",
Expand All @@ -81,17 +81,17 @@
"ngx-bootstrap": "^1.6.6",
"rxjs": "^5.3.0",
"text-mask-addons": "^3.5.0",
"zone.js": "^0.8.5"
"zone.js": "^0.8.8"
},
"devDependencies": {
"@angular/cli": "1.0.0",
"@angular/compiler-cli": "^4.0.2",
"@angular/compiler-cli": "^4.0.3",
"@biesbjerg/ng2-translate-extract": "git+https://github.com/EndyKaufman/ng2-translate-extract.git",
"@types/jasmine": "2.5.47",
"@types/lodash": "^4.14.62",
"@types/node": "^7.0.12",
"@types/lodash": "^4.14.63",
"@types/node": "^7.0.13",
"angular2-template-loader": "^0.6.2",
"codelyzer": "~3.0.0-beta.0",
"codelyzer": "~3.0.0",
"es6-promise-loader": "^1.0.2",
"html-loader": "0.4.5",
"markdown-loader": "github:valorkin/markdown-loader",
Expand Down

0 comments on commit f3fee28

Please # to comment.