summaryrefslogtreecommitdiff
path: root/js/Misc/BOUNCEXY.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-06 10:38:38 +0530
committerSunil Shetye2018-07-09 12:16:25 +0530
commit5a28e41a3105338f747b8a30f67000920490c67d (patch)
treee55c568d243ea8e0ec539f0df20cefbc3e42f3ef /js/Misc/BOUNCEXY.js
parent200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (diff)
downloadsci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.gz
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.bz2
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.zip
make string as the default type
Diffstat (limited to 'js/Misc/BOUNCEXY.js')
-rw-r--r--js/Misc/BOUNCEXY.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Misc/BOUNCEXY.js b/js/Misc/BOUNCEXY.js
index 02c5be54..2cbcae14 100644
--- a/js/Misc/BOUNCEXY.js
+++ b/js/Misc/BOUNCEXY.js
@@ -52,14 +52,14 @@ function BOUNCEXY() {
return options;
}
BOUNCEXY.prototype.set = function BOUNCEXY() {
- this.clrs = inverse((arguments[0]["clrs"]))
- this.siz = inverse((arguments[0]["siz"]))
- this.win = parseFloat((arguments[0]["win"]))
- this.imode = parseFloat((arguments[0]["imode"]))
- this.xmin = parseFloat((arguments[0]["xmin"]))
- this.xmax = parseFloat((arguments[0]["xmax"]))
- this.ymin = parseFloat((arguments[0]["ymin"]))
- this.ymax = parseFloat((arguments[0]["ymax"]))
+ this.clrs = inverse(arguments[0]["clrs"])
+ this.siz = inverse(arguments[0]["siz"])
+ this.win = parseFloat(arguments[0]["win"])
+ this.imode = parseFloat(arguments[0]["imode"])
+ this.xmin = parseFloat(arguments[0]["xmin"])
+ this.xmax = parseFloat(arguments[0]["xmax"])
+ this.ymin = parseFloat(arguments[0]["ymin"])
+ this.ymax = parseFloat(arguments[0]["ymax"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;