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/Linear/DLSS_f.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'js/Linear/DLSS_f.js') diff --git a/js/Linear/DLSS_f.js b/js/Linear/DLSS_f.js index cd486c1c..121ba77b 100644 --- a/js/Linear/DLSS_f.js +++ b/js/Linear/DLSS_f.js @@ -34,11 +34,11 @@ function DLSS_f() { return options; } DLSS_f.prototype.set = function DLSS_f() { - this.A = parseFloat((arguments[0]["A"])) - this.B = parseFloat((arguments[0]["B"])) - this.C = parseFloat((arguments[0]["C"])) - this.D = parseFloat((arguments[0]["D"])) - this.x0 = parseFloat((arguments[0]["x0"])) + this.A = parseFloat(arguments[0]["A"]) + this.B = parseFloat(arguments[0]["B"]) + this.C = parseFloat(arguments[0]["C"]) + this.D = parseFloat(arguments[0]["D"]) + this.x0 = parseFloat(arguments[0]["x0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; -- cgit