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
@@ -1,5 +1,3 @@
|
||||
/// <reference path="../../function.d.ts" />
|
||||
|
||||
import { Macro } from '../macro';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
|
||||
|
||||
3
shared/src/config-serializer/function.d.ts
vendored
3
shared/src/config-serializer/function.d.ts
vendored
@@ -1,3 +0,0 @@
|
||||
interface Function {
|
||||
name: string;
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
import { Pipe, PipeTransform } from '@angular/core';
|
||||
import { SafeStyle, DomSanitizer} from '@angular/platform-browser';
|
||||
import { SafeStyle, DomSanitizer } from '@angular/platform-browser';
|
||||
|
||||
@Pipe({
|
||||
name: 'safeStyle'
|
||||
})
|
||||
export class SafeStylePipe implements PipeTransform {
|
||||
|
||||
constructor(private sanitizer: DomSanitizer) {}
|
||||
constructor(private sanitizer: DomSanitizer) { }
|
||||
|
||||
transform(style: string): SafeStyle {
|
||||
return this.sanitizer.bypassSecurityTrustStyle(style);
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import 'core-js/es7/array';
|
||||
import 'core-js/es7/object';
|
||||
import 'core-js/es7/reflect';
|
||||
import 'zone.js/dist/zone';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Injectable} from '@angular/core';
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
@Injectable()
|
||||
export class LogService {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Action } from '@ngrx/store';
|
||||
|
||||
import { type } from '../../util';
|
||||
import {Notification} from '../../models/notification';
|
||||
import { Notification } from '../../models/notification';
|
||||
|
||||
const PREFIX = '[app] ';
|
||||
|
||||
@@ -23,7 +23,7 @@ export class AppStartedAction implements Action {
|
||||
export class ShowNotificationAction implements Action {
|
||||
type = ActionTypes.APP_SHOW_NOTIFICATION;
|
||||
|
||||
constructor(public payload: Notification) {}
|
||||
constructor(public payload: Notification) { }
|
||||
}
|
||||
|
||||
export type Actions
|
||||
|
||||
@@ -17,9 +17,6 @@ import { ActionTypes } from '../actions/user-config';
|
||||
|
||||
const initialState: UserConfiguration = new UserConfiguration();
|
||||
|
||||
/* tslint:disable:no-switch-case-fall-through */
|
||||
// tslint bug: https://github.com/palantir/tslint/issues/1538
|
||||
|
||||
export default function (state = initialState, action: Action): UserConfiguration {
|
||||
const changedUserConfiguration: UserConfiguration = Object.assign(new UserConfiguration(), state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user