summaryrefslogtreecommitdiff
path: root/js/Sources/Counter.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/Counter.js')
-rw-r--r--js/Sources/Counter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Sources/Counter.js b/js/Sources/Counter.js
index 6b5c835b..de94c91f 100644
--- a/js/Sources/Counter.js
+++ b/js/Sources/Counter.js
@@ -14,7 +14,7 @@ function Counter() {
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = new ScilabDouble([false,false]);
var exprs = [[string(this.minim)],[string(this.maxim)],[string(this.rule)]];
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"Counter\",sz(1),sz(2));"]);
this.x = standard_define([3,2],this.model,exprs,gr_i);
return new BasicBlock(this.x);
}