summaryrefslogtreecommitdiff
path: root/js/Sources/CLOCK_c.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/CLOCK_c.js')
-rw-r--r--js/Sources/CLOCK_c.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js
index aac88f72..dde29deb 100644
--- a/js/Sources/CLOCK_c.js
+++ b/js/Sources/CLOCK_c.js
@@ -40,6 +40,7 @@ function CLOCK_c() {
this.x.model.firing = false;
this.x.model.dep_ut = [false,false];
this.x.model.rpar = diagram;
+ return new BasicBlock(this.x);
}
CLOCK_c.prototype.details = function CLOCK_c() {
return this.x;
@@ -90,5 +91,6 @@ function CLOCK_c() {
this.x = arg1;
y = needcompile;
typ = newpar;
+ return new BasicBlock(this.x);
}
}