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.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/Electrical/Resistor.js b/js/Electrical/Resistor.js
index fb284839..7c6147d6 100644
--- a/js/Electrical/Resistor.js
+++ b/js/Electrical/Resistor.js
@@ -26,6 +26,9 @@ function Resistor() {
return this.x;
}
Resistor.prototype.get = function Resistor() {
+ var options = {
+ }
+ return options;
}
Resistor.prototype.set = function Resistor() {
this.R = parseFloat((arguments[0]["R"]))