diff options
| author | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-02-25 22:34:32 -0800 |
|---|---|---|
| committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-02-25 22:34:32 -0800 |
| commit | c05a5a7e990e25b982396303f47f3473580dda24 (patch) | |
| tree | 7f4b08f389ce37f6bbeb976b6907799da617520c /src/toys/godel/js/ui.js | |
| parent | ff0c75d52eec175374430347b3c11594c322e104 (diff) | |
| download | lizdotcoffee-c05a5a7e990e25b982396303f47f3473580dda24.tar.gz lizdotcoffee-c05a5a7e990e25b982396303f47f3473580dda24.zip | |
Minor string updates
Diffstat (limited to 'src/toys/godel/js/ui.js')
| -rw-r--r-- | src/toys/godel/js/ui.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/toys/godel/js/ui.js b/src/toys/godel/js/ui.js index 2952140..97e5209 100644 --- a/src/toys/godel/js/ui.js +++ b/src/toys/godel/js/ui.js @@ -139,17 +139,13 @@ export class GodelPlayground { this.latestSequence = godelSequence; this.setCompiled(js); this.renderSequence(godelSequence); - this.setStatus( - "compile", - `Compiled ${godelSequence.length} instruction${godelSequence.length === 1 ? "" : "s"}.`, - "success" - ); + this.setStatus("compile", "Successful compilation", "success"); this.elements.computeNumberBtn.disabled = godelSequence.length === 0; } catch (error) { this.latestSequence = []; this.renderSequence([]); this.elements.computeNumberBtn.disabled = true; - this.setStatus("compile", error.message || "Failed to compile program", "error"); + this.setStatus("compile", error.message || "Error compiling", "error"); } } |
