Update dependencies (#344)
* Update angular to 4.2.6 * Update rxjs * Update webpack * Update type definitions * Update tslint
This commit is contained in:
committed by
László Monda
parent
d06892912f
commit
e57a2f8637
@@ -168,15 +168,15 @@ function sendIpcToWindow(message: string, arg?: any) {
|
||||
}
|
||||
|
||||
function allowPreRelease() {
|
||||
const settings = getAutoUpdateSettings();
|
||||
const autoUpdateSettings = getAutoUpdateSettings();
|
||||
|
||||
return settings && settings.usePreReleaseUpdate;
|
||||
return autoUpdateSettings && autoUpdateSettings.usePreReleaseUpdate;
|
||||
}
|
||||
|
||||
function checkForUpdateAtStartup() {
|
||||
const settings = getAutoUpdateSettings();
|
||||
const autoUpdateSettings = getAutoUpdateSettings();
|
||||
|
||||
return settings && settings.checkForUpdateOnStartUp;
|
||||
return autoUpdateSettings && autoUpdateSettings.checkForUpdateOnStartUp;
|
||||
}
|
||||
|
||||
function getAutoUpdateSettings() {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { ErrorHandler, Injectable } from '@angular/core';
|
||||
import { LogService} from '../shared/services/logger.service';
|
||||
import { LogService } from '../shared/services/logger.service';
|
||||
|
||||
@Injectable()
|
||||
export class ElectronErrorHandlerService implements ErrorHandler {
|
||||
constructor(private logService: LogService) {}
|
||||
constructor(private logService: LogService) { }
|
||||
|
||||
handleError(error: any) {
|
||||
this.logService.error(error);
|
||||
|
||||
@@ -14,7 +14,7 @@ import 'rxjs/add/operator/do';
|
||||
|
||||
import { Device, findByIds, InEndpoint, Interface, on, OutEndpoint } from 'usb';
|
||||
|
||||
import { LogService} from '../shared/services/logger.service';
|
||||
import { LogService } from '../shared/services/logger.service';
|
||||
import { Constants } from '../shared/util';
|
||||
import { UhkDeviceService } from './uhk-device.service';
|
||||
|
||||
@@ -27,8 +27,7 @@ export class UhkLibUsbApiService extends UhkDeviceService implements OnDestroy {
|
||||
device.deviceDescriptor.idProduct === Constants.PRODUCT_ID;
|
||||
}
|
||||
|
||||
constructor(zone: NgZone,
|
||||
protected logService: LogService) {
|
||||
constructor(zone: NgZone, protected logService: LogService) {
|
||||
super(logService);
|
||||
|
||||
this.initialize();
|
||||
|
||||
Reference in New Issue
Block a user