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);