Skip to content

Commit dc122e7

Browse files
committed
Rename method and remove console.log
1 parent 8030492 commit dc122e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/spinner/spinner.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class SpinnerComponent implements OnDestroy, OnInit {
4646
}
4747

4848
ngOnInit(): void {
49-
this.disableEmbeddedSpinnerIfComponentOutletIsDefined();
49+
this.nullifySpinnerIfComponentOutletIsDefined();
5050

5151
if (!(this.filteredUrlPatterns instanceof Array)) {
5252
throw new TypeError('`filteredUrlPatterns` must be an array.');
@@ -59,13 +59,13 @@ export class SpinnerComponent implements OnDestroy, OnInit {
5959
}
6060
}
6161

62-
private disableEmbeddedSpinnerIfComponentOutletIsDefined() {
62+
private nullifySpinnerIfComponentOutletIsDefined(): void {
6363
if (null != this.entryComponent) {
64-
console.log('\'spinner\' and \'entryComponent\' are both defined, \'spinner\' property will be ignored');
6564
this.spinner = null;
6665
}
6766
}
6867

68+
6969
ngOnDestroy(): void {
7070
this.subscription.unsubscribe();
7171
}

0 commit comments

Comments
 (0)