diff options
author | Sunil Shetye | 2018-07-16 18:13:55 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-18 11:36:15 +0530 |
commit | 8ce53461fe09f5102deeaedbb87bfc0d4f996ed2 (patch) | |
tree | 6b766b7c32effff12fa48cff99f11b9420136610 /js/Events/MFCLCK_f.js | |
parent | 5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f (diff) | |
download | sci2js-8ce53461fe09f5102deeaedbb87bfc0d4f996ed2.tar.gz sci2js-8ce53461fe09f5102deeaedbb87bfc0d4f996ed2.tar.bz2 sci2js-8ce53461fe09f5102deeaedbb87bfc0d4f996ed2.zip |
move the options in the loop
Diffstat (limited to 'js/Events/MFCLCK_f.js')
-rw-r--r-- | js/Events/MFCLCK_f.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Events/MFCLCK_f.js b/js/Events/MFCLCK_f.js index 72992ea3..1edf1edd 100644 --- a/js/Events/MFCLCK_f.js +++ b/js/Events/MFCLCK_f.js @@ -29,11 +29,11 @@ function MFCLCK_f() { return options; } MFCLCK_f.prototype.set = function MFCLCK_f() { - this.dt = parseFloat(arguments[0]["dt"]) - this.nn = parseFloat(arguments[0]["nn"]) - this.exprs = arguments[0]["exprs"] this.exprs = this.graphics.exprs; - [ok,this.dt,this.nn,this.exprs] = scicos_getvalue("Set Multifrequency clock parameters",["basic period (1/f)","multiply by (n)"],list("vec",1,"vec",1),this.exprs); + var ok = true; + this.dt = parseFloat(arguments[0]["dt"]); + this.nn = parseFloat(arguments[0]["nn"]); + this.exprs = arguments[0]["exprs"]; if (ok) { this.model.ipar = new ScilabDouble([this.nn]); this.model.rpar = new ScilabDouble([this.dt]); |