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.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js
index cac1c8a5..2595e3a1 100644
--- a/js/Sources/CLOCK_f.js
+++ b/js/Sources/CLOCK_f.js
@@ -24,7 +24,7 @@ break
}
if (dt<=0) {
message("period must be positive");
-ok=None;
+ok=false;
}
if (ok) {
xx.graphics.exprs=exprs0;
@@ -84,8 +84,8 @@ x.graphics.peout=0;
x.model.sim="csuper";
x.model.evtout=1;
x.model.blocktype="h";
-x.model.firing=None;
-x.model.dep_ut=[None,None];
+x.model.firing=false;
+x.model.dep_ut=[false,false];
x.model.rpar=diagram;
}
CLOCK_f.prototype.details = function CLOCK_f() {