From ca1a67f78f7de40a7956c69e41f4ddae2542f4f2 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 2 Jul 2018 22:51:03 +0530 Subject: add options block --- js/Sources/CLOCK_c.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'js/Sources/CLOCK_c.js') diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js index a9dcb24b..9635ac4c 100644 --- a/js/Sources/CLOCK_c.js +++ b/js/Sources/CLOCK_c.js @@ -46,6 +46,11 @@ function CLOCK_c() { return this.x; } CLOCK_c.prototype.get = function CLOCK_c() { + var options = { + dt:["Period",this.dt], + t0:["Initialisation Time",this.t0], + } + return options; } CLOCK_c.prototype.set = function CLOCK_c() { this.dt = parseFloat((arguments[0]["dt"])) -- cgit