Skip to content

Commit bcf6433

Browse files
Ran prettier-format script on all typescript files in src.
1 parent 988cfdd commit bcf6433

516 files changed

Lines changed: 9943 additions & 8584 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import { NgModule } from '@angular/core';
22
import { RouterModule, Routes } from '@angular/router';
3-
import { AboutComponent } from "./about.component";
3+
import { AboutComponent } from './about.component';
44

5-
const aboutRoutes: Routes = [
6-
{ path: '', component: AboutComponent }
7-
];
5+
const aboutRoutes: Routes = [{ path: '', component: AboutComponent }];
86

97
@NgModule({
10-
imports: [ RouterModule.forChild(aboutRoutes) ],
11-
exports: [ RouterModule ]
8+
imports: [RouterModule.forChild(aboutRoutes)],
9+
exports: [RouterModule]
1210
})
13-
export class AboutRoutingModule { }
11+
export class AboutRoutingModule {}

src/main/webapp/site/src/app/about/about.component.spec.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2-
import { NO_ERRORS_SCHEMA } from "@angular/core";
2+
import { NO_ERRORS_SCHEMA } from '@angular/core';
33

44
import { AboutComponent } from './about.component';
55

@@ -9,10 +9,9 @@ describe('AboutComponent', () => {
99

1010
beforeEach(async(() => {
1111
TestBed.configureTestingModule({
12-
declarations: [ AboutComponent ],
13-
schemas: [ NO_ERRORS_SCHEMA ]
14-
})
15-
.compileComponents();
12+
declarations: [AboutComponent],
13+
schemas: [NO_ERRORS_SCHEMA]
14+
}).compileComponents();
1615
}));
1716

1817
beforeEach(() => {

src/main/webapp/site/src/app/about/about.component.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ import { Component, OnInit } from '@angular/core';
66
styleUrls: ['./about.component.scss']
77
})
88
export class AboutComponent implements OnInit {
9+
constructor() {}
910

10-
constructor() { }
11-
12-
ngOnInit() {
13-
}
14-
11+
ngOnInit() {}
1512
}

src/main/webapp/site/src/app/about/about.module.ts

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,13 @@ import { CommonModule } from '@angular/common';
33
import { FlexLayoutModule } from '@angular/flex-layout';
44
import { MatIconModule } from '@angular/material/icon';
55

6-
import { AboutComponent } from "./about.component";
7-
import { AboutRoutingModule } from "./about-routing.module";
8-
import { SharedModule } from "../modules/shared/shared.module";
6+
import { AboutComponent } from './about.component';
7+
import { AboutRoutingModule } from './about-routing.module';
8+
import { SharedModule } from '../modules/shared/shared.module';
99

1010
@NgModule({
11-
imports: [
12-
CommonModule,
13-
FlexLayoutModule,
14-
MatIconModule,
15-
AboutRoutingModule,
16-
SharedModule
17-
],
18-
declarations: [
19-
AboutComponent
20-
],
21-
exports: [
22-
AboutComponent,
23-
SharedModule
24-
]
11+
imports: [CommonModule, FlexLayoutModule, MatIconModule, AboutRoutingModule, SharedModule],
12+
declarations: [AboutComponent],
13+
exports: [AboutComponent, SharedModule]
2514
})
26-
export class AboutModule { }
15+
export class AboutModule {}

0 commit comments

Comments
 (0)