summaryrefslogtreecommitdiff
path: root/js/Misc/c_block.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/c_block.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/c_block.js')
-rw-r--r--js/Misc/c_block.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Misc/c_block.js b/js/Misc/c_block.js
index b6ccbfdd..51dc7208 100644
--- a/js/Misc/c_block.js
+++ b/js/Misc/c_block.js
@@ -42,11 +42,11 @@ function c_block() {
return options;
}
c_block.prototype.set = function c_block() {
- this.i = parseFloat((arguments[0]["i"]))
- this.o = parseFloat((arguments[0]["o"]))
- this.rpar = inverse((arguments[0]["rpar"]))
- this.funam = parseFloat((arguments[0]["funam"]))
- this.lab = parseFloat((arguments[0]["lab"]))
+ this.i = parseFloat(arguments[0]["i"])
+ this.o = parseFloat(arguments[0]["o"])
+ this.rpar = inverse(arguments[0]["rpar"])
+ this.funam = arguments[0]["funam"]
+ this.lab = arguments[0]["lab"]
this.x = arg1;
model = arg1.model;
graphics = arg1.graphics;