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/Sources/RAND_m.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'js/Sources/RAND_m.js')

diff --git a/js/Sources/RAND_m.js b/js/Sources/RAND_m.js
index 5974246b..f602ae68 100644
--- a/js/Sources/RAND_m.js
+++ b/js/Sources/RAND_m.js
@@ -43,11 +43,11 @@ function RAND_m() {
         return options;
     }
     RAND_m.prototype.set = function RAND_m() {
-        this.typ = inverse((arguments[0]["typ"]))
-        this.flag = parseFloat((arguments[0]["flag"]))
-        this.a = parseFloat((arguments[0]["a"]))
-        this.b = parseFloat((arguments[0]["b"]))
-        this.seed_c = parseFloat((arguments[0]["seed_c"]))
+        this.typ = inverse(arguments[0]["typ"])
+        this.flag = parseFloat(arguments[0]["flag"])
+        this.a = parseFloat(arguments[0]["a"])
+        this.b = parseFloat(arguments[0]["b"])
+        this.seed_c = arguments[0]["seed_c"]
         this.x = arg1;
         graphics = arg1.graphics;
         exprs = graphics.exprs;
-- 
cgit