diff options
author | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-03-02 16:32:01 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-03-02 16:32:01 -0700 |
commit | d8511f4ad3bc3a326de7f7af2fb8703d5f471e36 (patch) | |
tree | aaf7a91a60eb7436f0d00883cd54ecb90d703d8e /src/engine/utils/CodeEditor.ts | |
parent | 16eb0ad4d5d8b2ba915eae5190e6b0cfe8a1573c (diff) | |
download | the-abstraction-engine-d8511f4ad3bc3a326de7f7af2fb8703d5f471e36.tar.gz the-abstraction-engine-d8511f4ad3bc3a326de7f7af2fb8703d5f471e36.zip |
run prettier
Diffstat (limited to 'src/engine/utils/CodeEditor.ts')
-rw-r--r-- | src/engine/utils/CodeEditor.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/utils/CodeEditor.ts b/src/engine/utils/CodeEditor.ts index 144cc29..ecc80bc 100644 --- a/src/engine/utils/CodeEditor.ts +++ b/src/engine/utils/CodeEditor.ts @@ -36,7 +36,7 @@ interface CodeEditorState { export class CodeEditorInstance { constructor( private modalInstance: ModalInstance = ModalSingleton, - private codeEditorState: CodeEditorState | null = null + private codeEditorState: CodeEditorState | null = null, ) {} public close() { @@ -54,7 +54,7 @@ export class CodeEditorInstance { initCode: string, codeConsumer: CodeEditorState["codeConsumer"], readonly: boolean = false, - initResult: { data?: string; error?: string } = {} + initResult: { data?: string; error?: string } = {}, ) { if (this.codeEditorState) { throw new Error("code editor instance is already owned."); @@ -87,7 +87,7 @@ export class CodeEditorInstance { const resultElement = document.getElementById("result")!; const closeButton = document.getElementById( - "close-modal" + "close-modal", ) as HTMLButtonElement; closeButton.addEventListener("click", () => this.onSave()); |