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/Sinks/BARXY.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'js/Sinks/BARXY.js') diff --git a/js/Sinks/BARXY.js b/js/Sinks/BARXY.js index 657f2035..48eb2b5e 100644 --- a/js/Sinks/BARXY.js +++ b/js/Sinks/BARXY.js @@ -35,11 +35,11 @@ function BARXY() { return options; } BARXY.prototype.set = function BARXY() { - 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.thickness = parseFloat((arguments[0]["thickness"])) + 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.thickness = arguments[0]["thickness"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; -- cgit