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, 2 insertions, 0 deletions
diff --git a/js/Sources/Counter.js b/js/Sources/Counter.js
index 5e768e00..3cd43ab3 100644
--- a/js/Sources/Counter.js
+++ b/js/Sources/Counter.js
@@ -16,6 +16,7 @@ function Counter() {
exprs = [[string(minim)],[string(maxim)],[string(rule)]];
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
Counter.prototype.details = function Counter() {
return this.x;
@@ -47,5 +48,6 @@ function Counter() {
break;
}
}
+ return new BasicBlock(this.x);
}
}