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/Events/freq_div.js | |
parent | 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff) | |
download | sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2 sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip |
add options block
Diffstat (limited to 'js/Events/freq_div.js')
-rw-r--r-- | js/Events/freq_div.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/Events/freq_div.js b/js/Events/freq_div.js index 3aadb372..e034bb84 100644 --- a/js/Events/freq_div.js +++ b/js/Events/freq_div.js @@ -111,6 +111,11 @@ function freq_div() { return this.x; } freq_div.prototype.get = function freq_div() { + var options = { + %ph:["Phase (0 to division factor -1)",%ph], + %df:["Division factor",%df], + } + return options; } freq_div.prototype.set = function freq_div() { %ph = parseFloat((arguments[0]["%ph"])) |