Commit c52ae033 authored by micha's avatar micha
Browse files

reformat

parent d54bfe80
import { Injectable, OnDestroy } from '@angular/core';
import { Subject, timer } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import {Injectable} from '@angular/core';
import {Subject, timer} from 'rxjs';
@Injectable({
providedIn: 'root'
......
import {Component, Input, Output} from '@angular/core';
import {Observable, ReplaySubject} from 'rxjs';
import {map, shareReplay, startWith, switchMap} from 'rxjs/operators';
import {map, startWith, switchMap} from 'rxjs/operators';
import {FormBuilder, FormGroup} from '@angular/forms';
@Component({
......
import { Injectable, OnDestroy } from '@angular/core';
import { Subject, timer } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import {Injectable} from '@angular/core';
import {timer} from 'rxjs';
@Injectable({
providedIn: 'root'
......
......@@ -2,7 +2,6 @@ import {Component, OnDestroy} from '@angular/core';
import {Subject, Subscription} from 'rxjs';
import {takeUntil, tap} from 'rxjs/operators';
import {SourceService} from './source.service';
import {SubscriptionHandlingService} from './subscription.service';
@Component({
selector: 'subscription-handling',
......
import { Injectable, OnDestroy } from '@angular/core';
import { Observable, Subject, Subscription } from 'rxjs';
import { mergeAll, takeUntil } from 'rxjs/operators';
import {Injectable, OnDestroy} from '@angular/core';
import {Observable, Subject, Subscription} from 'rxjs';
import {mergeAll} from 'rxjs/operators';
@Injectable()
export class SubscriptionHandlingService implements OnDestroy {
......
import { Injectable, OnDestroy } from '@angular/core';
import { Subject, timer } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import {Injectable} from '@angular/core';
import {Subject, timer} from 'rxjs';
@Injectable({
providedIn: 'root'
......
import { Injectable, OnDestroy } from '@angular/core';
import { Observable, Subject, Subscription } from 'rxjs';
import { mergeAll, takeUntil } from 'rxjs/operators';
import {Injectable, OnDestroy} from '@angular/core';
import {Observable, Subject, Subscription} from 'rxjs';
import {mergeAll} from 'rxjs/operators';
@Injectable()
export class SubscriptionHandlingService implements OnDestroy {
......
......@@ -2,8 +2,8 @@ import {ChangeDetectionStrategy, Component} from '@angular/core';
import {MENU_ITEMS} from "./state-management.menu";
@Component({
selector: 'state-management-container',
template: `
selector: 'state-management-container',
template: `
<h1>State Management</h1>
<a mat-button *ngFor="let item of items"
[routerLink]="[item.link]">
......@@ -12,8 +12,8 @@ import {MENU_ITEMS} from "./state-management.menu";
<br/>
<router-outlet></router-outlet>
`,
changeDetection: ChangeDetectionStrategy.OnPush
changeDetection: ChangeDetectionStrategy.OnPush
})
export class StateManagementContainerComponent {
items = MENU_ITEMS
items = MENU_ITEMS
}
......@@ -2,11 +2,8 @@
import 'zone.js/dist/zone';
import 'zone.js/dist/zone-testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
import {getTestBed} from '@angular/core/testing';
import {BrowserDynamicTestingModule, platformBrowserDynamicTesting} from '@angular/platform-browser-dynamic/testing';
declare const require: {
context(path: string, deep?: boolean, filter?: RegExp): {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment