From db8f6b09db599418eaeb23bbfc7cbc3226680aa7 Mon Sep 17 00:00:00 2001 From: Zachary Vance Date: Sun, 15 May 2016 04:28:26 -0700 Subject: [PATCH] Make eval look nice --- eval.html | 63 +++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 54 insertions(+), 9 deletions(-) diff --git a/eval.html b/eval.html index 3955d27..8b63adc 100644 --- a/eval.html +++ b/eval.html @@ -21,7 +21,7 @@ function change_parameters(new_args) { $("#inputs div:has(input[name=" + arg + "])").remove(); }); _.each(added_args, function(arg) { - $("#inputs").append("
" + arg + ":
"); + $("#inputs").append("
"); $("#inputs input[name=" + arg + "]").on("input", function() { load_inputs(); recalc(); @@ -84,15 +84,60 @@ $(function() { recalc(); }); + + + - definitition:
- function(r, h) {
- return Math.PI * Math.pow(r, 2) * h;
- }
-
- Error:
- Inputs:
- Result:
+
+function(r, h) {
+    return Math.PI * Math.pow(r, 2) * h;
+}
+
+
s
+
+
s
-- 2.47.3