Making methods explicitly private, public, or protected

This commit is contained in:
2025-06-21 19:49:58 -05:00
parent dae0cd9516
commit 5965bb7552
11 changed files with 81 additions and 61 deletions

View File

@@ -41,7 +41,7 @@ export class EditorsComponent {
}
public ngAfterViewInit(): void {
private ngAfterViewInit(): void {
this.loadSubscribers();
this.loadMainSubscribers();
@@ -54,12 +54,12 @@ export class EditorsComponent {
rightEditor.instance.leftSiblingUUID = leftEditor.instance.uuid;
}
ngOnDestroy() {
private ngOnDestroy() {
this.unsubscribe.next();
this.unsubscribe.complete();
}
loadSubscribers() {
private loadSubscribers() {
this.editorsService.getMessage$().pipe(
takeUntil(this.unsubscribe)
@@ -133,7 +133,7 @@ export class EditorsComponent {
}
loadMainSubscribers() {
private loadMainSubscribers() {
window.fs.onLoadFiles(async (paths: []) => {
for (let i = 0; i < paths.length; i++) {
let file = new File([], "") as NewtonFile;