diff options
Diffstat (limited to 'js/Sources/SAWTOOTH_f.js')
-rw-r--r-- | js/Sources/SAWTOOTH_f.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/Sources/SAWTOOTH_f.js b/js/Sources/SAWTOOTH_f.js index 27b5b214..40ab391a 100644 --- a/js/Sources/SAWTOOTH_f.js +++ b/js/Sources/SAWTOOTH_f.js @@ -10,13 +10,14 @@ function SAWTOOTH_f() { model.dep_ut = [false,true]; exprs = " "; gr_i = []; - x = standard_define([3,2],model,exprs,gr_i); + this.x = standard_define([3,2],model,exprs,gr_i); } SAWTOOTH_f.prototype.details = function SAWTOOTH_f() { + return this.x; } SAWTOOTH_f.prototype.get = function SAWTOOTH_f() { } SAWTOOTH_f.prototype.set = function SAWTOOTH_f() { - x = arg1; + this.x = arg1; } } |