Refactoring: Random spaces / newline changes
This commit is contained in:
parent
43618fe3f1
commit
b8dc1063d0
3 changed files with 3 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,6 +41,4 @@ export class FixedInputElement<T> extends InputElement<T> {
|
|||
protected InnerConstructElement(): HTMLElement {
|
||||
return this._el;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,4 +10,3 @@ export abstract class InputElement<T> extends BaseUIElement {
|
|||
abstract IsValid(t: T): boolean;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue