summaryrefslogtreecommitdiff
path: root/js/Electrical/Resistor.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/Resistor.js')
-rw-r--r--js/Electrical/Resistor.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Electrical/Resistor.js b/js/Electrical/Resistor.js
index 044e7253..19fba9fa 100644
--- a/js/Electrical/Resistor.js
+++ b/js/Electrical/Resistor.js
@@ -36,6 +36,7 @@ function Resistor() {
while (true) {
var ok = true;
this.R = parseFloat(arguments[0]["R"]);
+ var exprs = [arguments[0]["R"]];
if (!ok) {
break;
}