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