Refactoring: Random spaces / newline changes

This commit is contained in:
Tobias Jordans 2021-09-30 21:41:51 +02:00
parent 43618fe3f1
commit b8dc1063d0
3 changed files with 3 additions and 7 deletions

View file

@ -99,9 +99,8 @@ export default abstract class BaseUIElement {
if (this.InnerConstructElement === undefined) {
throw "ERROR! This is not a correct baseUIElement: " + this.constructor.name
}
try {
const el = this.InnerConstructElement();
if (el === undefined) {
@ -163,4 +162,4 @@ export default abstract class BaseUIElement {
}
protected abstract InnerConstructElement(): HTMLElement;
}
}

View file

@ -41,6 +41,4 @@ export class FixedInputElement<T> extends InputElement<T> {
protected InnerConstructElement(): HTMLElement {
return this._el;
}
}
}

View file

@ -10,4 +10,3 @@ export abstract class InputElement<T> extends BaseUIElement {
abstract IsValid(t: T): boolean;
}