diff options
Diffstat (limited to 'js/Electrical/ConstantVoltage.js')
-rw-r--r-- | js/Electrical/ConstantVoltage.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/Electrical/ConstantVoltage.js b/js/Electrical/ConstantVoltage.js index 866d0c0e..a0b070cf 100644 --- a/js/Electrical/ConstantVoltage.js +++ b/js/Electrical/ConstantVoltage.js @@ -26,7 +26,10 @@ function ConstantVoltage() { return this.x; } ConstantVoltage.prototype.get = function ConstantVoltage() { - alert("parameters cannot be modified"); + var options = { + V:["V (volt)",this.V], + } + return options; } ConstantVoltage.prototype.set = function ConstantVoltage() { this.exprs = this.graphics.exprs; |