summaryrefslogtreecommitdiff
path: root/js/Branching/GOTOMO.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-16 18:13:55 +0530
committerSunil Shetye2018-07-18 11:36:15 +0530
commit8ce53461fe09f5102deeaedbb87bfc0d4f996ed2 (patch)
tree6b766b7c32effff12fa48cff99f11b9420136610 /js/Branching/GOTOMO.js
parent5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f (diff)
downloadsci2js-8ce53461fe09f5102deeaedbb87bfc0d4f996ed2.tar.gz
sci2js-8ce53461fe09f5102deeaedbb87bfc0d4f996ed2.tar.bz2
sci2js-8ce53461fe09f5102deeaedbb87bfc0d4f996ed2.zip
move the options in the loop
Diffstat (limited to 'js/Branching/GOTOMO.js')
-rw-r--r--js/Branching/GOTOMO.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js
index 09b3aadd..354764b6 100644
--- a/js/Branching/GOTOMO.js
+++ b/js/Branching/GOTOMO.js
@@ -33,12 +33,12 @@ function GOTOMO() {
return options;
}
GOTOMO.prototype.set = function GOTOMO() {
- this.tag = arguments[0]["tag"]
- this.tagvis = parseFloat(arguments[0]["tagvis"])
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
while (true) {
- [ok,this.tag,this.tagvis,this.exprs] = scicos_getvalue("Set parameters",["Tag","Tag Visibility(1=Local 2=scoped 3= global)"],list("str",-1,"vec",1),this.exprs);
+ var ok = true;
+ this.tag = arguments[0]["tag"];
+ this.tagvis = parseFloat(arguments[0]["tagvis"]);
+ this.exprs = arguments[0]["exprs"];
if (!ok) {
break;
}