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.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js
index 7010e090..87317add 100644
--- a/js/Branching/GotoTagVisibility.js
+++ b/js/Branching/GotoTagVisibility.js
@@ -14,8 +14,8 @@ function GotoTagVisibility() {
this.model.blocktype = new ScilabString(["c"]);
this.model.firing = new ScilabBoolean([false]);
this.model.dep_ut = [false,false];
- exprs = "A";
- gr_i = [];
+ var exprs = "A";
+ var gr_i = [];
this.x = standard_define([2,2],this.model,exprs,gr_i);
return new BasicBlock(this.x);
}
@@ -31,8 +31,8 @@ function GotoTagVisibility() {
GotoTagVisibility.prototype.set = function GotoTagVisibility() {
this.tag = arguments[0]["tag"]
this.x = arg1;
- graphics = arg1.graphics;
- exprs = graphics.exprs;
+ var graphics = arg1.graphics;
+ var exprs = graphics.exprs;
this.model = arg1.model;
while (true) {
[ok,this.tag,exprs] = scicos_getvalue("Set parameters",["GotoTag"],list("str",-1),exprs);
@@ -41,8 +41,8 @@ function GotoTagVisibility() {
}
if (ok) {
if (this.model.opar!=list(this.tag)) {
- needcompile = 4;
- y = needcompile;
+ var needcompile = 4;
+ var y = needcompile;
}
graphics.exprs = exprs;
this.model.opar = list(new ScilabDouble([this.tag]));