summaryrefslogtreecommitdiff
path: root/js/Misc/BACKLASH.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-02 22:51:03 +0530
committerSunil Shetye2018-07-02 22:51:03 +0530
commitca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch)
tree6a07bd0428e542567726ff7325fcb71203ad6d15 /js/Misc/BACKLASH.js
parent5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff)
downloadsci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip
add options block
Diffstat (limited to 'js/Misc/BACKLASH.js')
-rw-r--r--js/Misc/BACKLASH.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/Misc/BACKLASH.js b/js/Misc/BACKLASH.js
index b02a3366..e7819b8e 100644
--- a/js/Misc/BACKLASH.js
+++ b/js/Misc/BACKLASH.js
@@ -18,6 +18,12 @@ function BACKLASH() {
return this.x;
}
BACKLASH.prototype.get = function BACKLASH() {
+ var options = {
+ ini:["initial output",this.ini],
+ gap:["gap",this.gap],
+ zcr:["use zero-crossing (0:no, 1:yes)",this.zcr],
+ }
+ return options;
}
BACKLASH.prototype.set = function BACKLASH() {
this.ini = parseFloat((arguments[0]["ini"]))