summaryrefslogtreecommitdiff
path: root/js/Branching/GotoTagVisibility.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/GotoTagVisibility.js')
-rw-r--r--js/Branching/GotoTagVisibility.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js
index d568b4b6..7010e090 100644
--- a/js/Branching/GotoTagVisibility.js
+++ b/js/Branching/GotoTagVisibility.js
@@ -2,17 +2,17 @@
function GotoTagVisibility() {
GotoTagVisibility.prototype.define = function GotoTagVisibility() {
this.model = scicos_model();
- this.model.sim = new ScilabString("gototagvisibility");
+ this.model.sim = new ScilabString(["gototagvisibility"]);
this.model.in1 = [];
this.model.in2 = [];
this.model.out = [];
this.model.out2 = [];
this.model.evtin = [];
- this.model.intyp = new ScilabDouble(1);
- this.model.outtyp = new ScilabDouble(1);
- this.model.opar = list(new ScilabString("A"));
- this.model.blocktype = new ScilabString("c");
- this.model.firing = new ScilabBoolean(false);
+ this.model.intyp = new ScilabDouble([1]);
+ this.model.outtyp = new ScilabDouble([1]);
+ this.model.opar = list(new ScilabString(["A"]));
+ this.model.blocktype = new ScilabString(["c"]);
+ this.model.firing = new ScilabBoolean([false]);
this.model.dep_ut = [false,false];
exprs = "A";
gr_i = [];
@@ -45,7 +45,7 @@ function GotoTagVisibility() {
y = needcompile;
}
graphics.exprs = exprs;
- this.model.opar = list(new ScilabDouble(this.tag));
+ this.model.opar = list(new ScilabDouble([this.tag]));
this.x.graphics = graphics;
this.x.model = this.model;
break;