summaryrefslogtreecommitdiff
path: root/js/Electrical/ConstantVoltage.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/ConstantVoltage.js')
-rw-r--r--js/Electrical/ConstantVoltage.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/Electrical/ConstantVoltage.js b/js/Electrical/ConstantVoltage.js
index afc8b40d..1d73e05d 100644
--- a/js/Electrical/ConstantVoltage.js
+++ b/js/Electrical/ConstantVoltage.js
@@ -26,6 +26,9 @@ function ConstantVoltage() {
return this.x;
}
ConstantVoltage.prototype.get = function ConstantVoltage() {
+ var options = {
+ }
+ return options;
}
ConstantVoltage.prototype.set = function ConstantVoltage() {
this.V = parseFloat((arguments[0]["V"]))