From 9a13b9b8f0a571b9a29a7d78fa18034c57bdbe6f Mon Sep 17 00:00:00 2001 From: BOTAlex Date: Mon, 15 Jul 2024 04:09:14 +0200 Subject: [PATCH] Removed semicolons because of the python haters --- OpenBirchWebsite/Pages/Home.razor | 37 +++++++++++++++---------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/OpenBirchWebsite/Pages/Home.razor b/OpenBirchWebsite/Pages/Home.razor index 521660a..286d088 100644 --- a/OpenBirchWebsite/Pages/Home.razor +++ b/OpenBirchWebsite/Pages/Home.razor @@ -28,23 +28,23 @@ private Task AutoTypingTask; readonly string[] exampleInputs = { - "2+2;", - "69*420+50;", - "sin(2+4);", - "sqrt(9);", - "nroot(27, 3);", - "f(x):=2*x;", - "f(5);", - "pi;", - "e;", - "myvar := 5;", - "15 + myvar;", - "myfunctionvar := f;", - "myfunctionvar(10);", - "d/dx x;", - "d/dx x^2;", - "d/dx 69*x^2;", - "d/dx sin(x)*x^2;" + "2+2", + "69*420+50", + "sin(2+4)", + "sqrt(9)", + "nroot(27, 3)", + "f(x):=2*x", + "f(5)", + "pi", + "e", + "myvar := 5", + "15 + myvar", + "myfunctionvar := f", + "myfunctionvar(10)", + "d/dx x", + "d/dx x^2", + "d/dx 69*x^2", + "d/dx sin(x)*x^2" }; private void print(string e) @@ -81,8 +81,7 @@ await InvokeAsync(StateHasChanged); } - int typingDelay = 200; - + const int typingDelay = 200; private async Task StartAutoTyping() { await Task.Delay(1000);