Skip to content

Commit 3d32dbd

Browse files
committed
More linting
1 parent b7ba406 commit 3d32dbd

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

src/app/component/circular-heatmap/circular-heatmap.component.ts

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,15 @@ export class CircularHeatmapComponent implements OnInit {
7878

7979
private LoadMaturityDataFromGeneratedYaml() {
8080
return new Promise<void>((resolve, reject) => {
81-
console.log(`${this.perfNow()}s: LoadMaturityDataFromGeneratedYaml Fetch`);
81+
console.log(
82+
`${this.perfNow()}s: LoadMaturityDataFromGeneratedYaml Fetch`
83+
);
8284
this.yaml.setURI('./assets/YAML/generated/generated.yaml');
8385

8486
this.yaml.getJson().subscribe(data => {
85-
console.log(`${this.perfNow()}s: LoadMaturityDataFromGeneratedYaml Downloaded`);
87+
console.log(
88+
`${this.perfNow()}s: LoadMaturityDataFromGeneratedYaml Downloaded`
89+
);
8690
this.YamlObject = data;
8791
var allDimensionNames = Object.keys(this.YamlObject);
8892
var totalTeamsImplemented: number = 0;
@@ -118,7 +122,7 @@ export class CircularHeatmapComponent implements OnInit {
118122
][allActivityInThisSubDimension[a]]['level'];
119123

120124
if (lvlOfCurrentActivity == l + 1) {
121-
var nameOfActivity: string =
125+
var nameOfActivity: string =
122126
allActivityInThisSubDimension[a];
123127
var teamStatus: { [key: string]: boolean } = {};
124128
const teams = this.teamList;
@@ -200,7 +204,9 @@ export class CircularHeatmapComponent implements OnInit {
200204
this.segment_labels
201205
);
202206
this.noActivitytoGrey();
203-
console.log(`${this.perfNow()}s: LoadMaturityDataFromGeneratedYaml End`);
207+
console.log(
208+
`${this.perfNow()}s: LoadMaturityDataFromGeneratedYaml End`
209+
);
204210
resolve();
205211
});
206212
});
@@ -240,15 +246,15 @@ export class CircularHeatmapComponent implements OnInit {
240246
return new Promise<void>((resolve, reject) => {
241247
console.log(`${this.perfNow()}s: LoadTeamsFromMetaYaml Fetch`);
242248
this.yaml.setURI('./assets/YAML/meta.yaml');
243-
this.yaml.getJson().subscribe(data => {
244-
console.log(`${this.perfNow()}s: LoadTeamsFromMetaYaml Downloaded`);
249+
this.yaml.getJson().subscribe(data => {
250+
console.log(`${this.perfNow()}s: LoadTeamsFromMetaYaml Downloaded`);
245251
this.YamlObject = data;
246252

247253
this.teamList = this.YamlObject['teams'];
248254
this.teamGroups = this.YamlObject['teamGroups'];
249255
this.teamVisible = [...this.teamList];
250256
console.log(`${this.perfNow()}s: LoadTeamsFromMetaYaml End`);
251-
resolve(); // Resolve the promise, and allow the next Load to run
257+
resolve();
252258
});
253259
});
254260
}
@@ -269,7 +275,7 @@ export class CircularHeatmapComponent implements OnInit {
269275
this.maxLevelOfActivities = y;
270276
}
271277
console.log(`${this.perfNow()}s: LoadMaturityLevels End`);
272-
resolve(); // Resolve the promise, and allow the next Load to run
278+
resolve();
273279
});
274280
});
275281
}
@@ -844,6 +850,6 @@ export class CircularHeatmapComponent implements OnInit {
844850
}
845851

846852
perfNow(): string {
847-
return (performance.now()/1000).toFixed(3);
853+
return (performance.now() / 1000).toFixed(3);
848854
}
849855
}

0 commit comments

Comments
 (0)