summaryrefslogtreecommitdiff
path: root/js/Sources/RAMP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/RAMP.js')
-rw-r--r--js/Sources/RAMP.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js
index 047f29f3..5e429bd8 100644
--- a/js/Sources/RAMP.js
+++ b/js/Sources/RAMP.js
@@ -25,6 +25,9 @@ function RAMP() {
RAMP.prototype.get = function RAMP() {
}
RAMP.prototype.set = function RAMP() {
+ this.slope = parseFloat((arguments[0]["slope"]))
+ this.stt = parseFloat((arguments[0]["stt"]))
+ this.iout = parseFloat((arguments[0]["iout"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;