summaryrefslogtreecommitdiff
path: root/js/Electrical/Diode.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/Diode.js')
-rw-r--r--js/Electrical/Diode.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Electrical/Diode.js b/js/Electrical/Diode.js
index 645cca15..07c96fcc 100644
--- a/js/Electrical/Diode.js
+++ b/js/Electrical/Diode.js
@@ -38,10 +38,10 @@ function Diode() {
return options;
}
Diode.prototype.set = function Diode() {
- this.Ids = parseFloat((arguments[0]["Ids"]))
- this.Vt = parseFloat((arguments[0]["Vt"]))
- this.Maxexp = parseFloat((arguments[0]["Maxexp"]))
- this.R = parseFloat((arguments[0]["R"]))
+ this.Ids = parseFloat(arguments[0]["Ids"])
+ this.Vt = parseFloat(arguments[0]["Vt"])
+ this.Maxexp = parseFloat(arguments[0]["Maxexp"])
+ this.R = parseFloat(arguments[0]["R"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;