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/Sources/PULSE_SC.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/Sources/PULSE_SC.js')
-rw-r--r-- | js/Sources/PULSE_SC.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js index 6ec87ef7..6b91077a 100644 --- a/js/Sources/PULSE_SC.js +++ b/js/Sources/PULSE_SC.js @@ -54,11 +54,6 @@ function PULSE_SC() { return options; } PULSE_SC.prototype.set = function PULSE_SC() { - scicos_context.E = arguments[0]["scicos_context.E"] - scicos_context.W = arguments[0]["scicos_context.W"] - scicos_context.F = arguments[0]["scicos_context.F"] - scicos_context.A = arguments[0]["scicos_context.A"] - this.exprs = arguments[0]["exprs"] var y = this.needcompile; var typ = list(); this.exprs = this.graphics.exprs; @@ -69,7 +64,12 @@ function PULSE_SC() { var scicos_context = struct(); var ok = false; while (!ok) { - [ok,scicos_context.E,scicos_context.W,scicos_context.F,scicos_context.A,this.exprs] = scicos_getvalue(Btitre,Bitems,Ss,this.exprs); + var ok = true; + scicos_context.E = arguments[0]["scicos_context.E"]; + scicos_context.W = arguments[0]["scicos_context.W"]; + scicos_context.F = arguments[0]["scicos_context.F"]; + scicos_context.A = arguments[0]["scicos_context.A"]; + this.exprs = arguments[0]["exprs"]; if (!ok) { return; } |