From 5a28e41a3105338f747b8a30f67000920490c67d Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 6 Jul 2018 10:38:38 +0530 Subject: make string as the default type --- js/Misc/BOUNCEXY.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'js/Misc/BOUNCEXY.js') 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; -- cgit