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.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js
index 65923bd4..7ef76e89 100644
--- a/js/Sources/CLOCK_f.js
+++ b/js/Sources/CLOCK_f.js
@@ -46,6 +46,11 @@ function CLOCK_f() {
return this.x;
}
CLOCK_f.prototype.get = function CLOCK_f() {
+ var options = {
+ dt:["Period",this.dt],
+ t0:["Init time",this.t0],
+ }
+ return options;
}
CLOCK_f.prototype.set = function CLOCK_f() {
this.dt = parseFloat((arguments[0]["dt"]))