diff options
author | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
commit | ca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch) | |
tree | 6a07bd0428e542567726ff7325fcb71203ad6d15 /js/Sources/CLOCK_c.js | |
parent | 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff) | |
download | sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2 sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip |
add options block
Diffstat (limited to 'js/Sources/CLOCK_c.js')
-rw-r--r-- | js/Sources/CLOCK_c.js | 5 |
1 files changed, 5 insertions, 0 deletions
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"])) |