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/TKSCALE.js | |
parent | 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff) | |
download | sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2 sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip |
add options block
Diffstat (limited to 'js/Sources/TKSCALE.js')
-rw-r--r-- | js/Sources/TKSCALE.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/Sources/TKSCALE.js b/js/Sources/TKSCALE.js index 8247c517..9de93dd4 100644 --- a/js/Sources/TKSCALE.js +++ b/js/Sources/TKSCALE.js @@ -20,6 +20,12 @@ function TKSCALE() { return this.x; } TKSCALE.prototype.get = function TKSCALE() { + var options = { + a:["Min value",this.a], + b:["Max value",this.b], + f:["Normalization",this.f], + } + return options; } TKSCALE.prototype.set = function TKSCALE() { this.a = parseFloat((arguments[0]["a"])) |