summaryrefslogtreecommitdiff
path: root/js/Electrical/Gyrator.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/Gyrator.js')
-rw-r--r--js/Electrical/Gyrator.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js
index 05d27e6f..0b0ec7dd 100644
--- a/js/Electrical/Gyrator.js
+++ b/js/Electrical/Gyrator.js
@@ -53,6 +53,11 @@ function Gyrator() {
return this.x;
}
Gyrator.prototype.get = function Gyrator() {
+ var options = {
+ G1:["G1",this.G1],
+ G2:["G2",this.G2],
+ }
+ return options;
}
Gyrator.prototype.set = function Gyrator() {
this.G1 = parseFloat((arguments[0]["G1"]))