summaryrefslogtreecommitdiff
path: root/js/Branching
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/Branching
parent200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (diff)
downloadsci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.gz
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.bz2
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.zip
make string as the default type
Diffstat (limited to 'js/Branching')
-rw-r--r--js/Branching/CLKFROM.js2
-rw-r--r--js/Branching/CLKGOTO.js4
-rw-r--r--js/Branching/CLKGotoTagVisibility.js2
-rw-r--r--js/Branching/DEMUX.js2
-rw-r--r--js/Branching/DEMUX_f.js2
-rw-r--r--js/Branching/ESELECT_f.js6
-rw-r--r--js/Branching/EXTRACTOR.js2
-rw-r--r--js/Branching/FROM.js2
-rw-r--r--js/Branching/FROMMO.js2
-rw-r--r--js/Branching/GOTO.js4
-rw-r--r--js/Branching/GOTOMO.js4
-rw-r--r--js/Branching/GotoTagVisibility.js2
-rw-r--r--js/Branching/GotoTagVisibilityMO.js2
-rw-r--r--js/Branching/ISELECT_f.js4
-rw-r--r--js/Branching/ISELECT_m.js6
-rw-r--r--js/Branching/MUX.js2
-rw-r--r--js/Branching/MUX_f.js2
-rw-r--r--js/Branching/M_SWITCH.js6
-rw-r--r--js/Branching/NRMSOM_f.js2
-rw-r--r--js/Branching/RELAY_f.js4
-rw-r--r--js/Branching/SCALAR2VECTOR.js2
-rw-r--r--js/Branching/SELECT_f.js4
-rw-r--r--js/Branching/SELECT_m.js6
-rw-r--r--js/Branching/SWITCH2.js6
-rw-r--r--js/Branching/SWITCH2_m.js8
-rw-r--r--js/Branching/SWITCH_f.js4
26 files changed, 46 insertions, 46 deletions
diff --git a/js/Branching/CLKFROM.js b/js/Branching/CLKFROM.js
index 74b34549..161e51d1 100644
--- a/js/Branching/CLKFROM.js
+++ b/js/Branching/CLKFROM.js
@@ -22,7 +22,7 @@ function CLKFROM() {
return options;
}
CLKFROM.prototype.set = function CLKFROM() {
- this.tag = parseFloat((arguments[0]["tag"]))
+ this.tag = arguments[0]["tag"]
this.x = arg1;
graphics = arg1.graphics;
model = arg1.model;
diff --git a/js/Branching/CLKGOTO.js b/js/Branching/CLKGOTO.js
index a1e82830..66dcb5f5 100644
--- a/js/Branching/CLKGOTO.js
+++ b/js/Branching/CLKGOTO.js
@@ -25,8 +25,8 @@ function CLKGOTO() {
return options;
}
CLKGOTO.prototype.set = function CLKGOTO() {
- this.tag = parseFloat((arguments[0]["tag"]))
- this.tagvis = parseFloat((arguments[0]["tagvis"]))
+ this.tag = arguments[0]["tag"]
+ this.tagvis = parseFloat(arguments[0]["tagvis"])
this.x = arg1;
graphics = arg1.graphics;
model = arg1.model;
diff --git a/js/Branching/CLKGotoTagVisibility.js b/js/Branching/CLKGotoTagVisibility.js
index 56ef9617..89146bb1 100644
--- a/js/Branching/CLKGotoTagVisibility.js
+++ b/js/Branching/CLKGotoTagVisibility.js
@@ -29,7 +29,7 @@ function CLKGotoTagVisibility() {
return options;
}
CLKGotoTagVisibility.prototype.set = function CLKGotoTagVisibility() {
- this.tag = parseFloat((arguments[0]["tag"]))
+ this.tag = arguments[0]["tag"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/DEMUX.js b/js/Branching/DEMUX.js
index 1df1efaa..5e7565b7 100644
--- a/js/Branching/DEMUX.js
+++ b/js/Branching/DEMUX.js
@@ -25,7 +25,7 @@ function DEMUX() {
return options;
}
DEMUX.prototype.set = function DEMUX() {
- this.out = parseFloat((arguments[0]["out"]))
+ this.out = parseFloat(arguments[0]["out"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/DEMUX_f.js b/js/Branching/DEMUX_f.js
index f29ff646..2338aaa1 100644
--- a/js/Branching/DEMUX_f.js
+++ b/js/Branching/DEMUX_f.js
@@ -25,7 +25,7 @@ function DEMUX_f() {
return options;
}
DEMUX_f.prototype.set = function DEMUX_f() {
- this.out = parseFloat((arguments[0]["out"]))
+ this.out = parseFloat(arguments[0]["out"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/ESELECT_f.js b/js/Branching/ESELECT_f.js
index 85c98ad4..4f68c633 100644
--- a/js/Branching/ESELECT_f.js
+++ b/js/Branching/ESELECT_f.js
@@ -31,9 +31,9 @@ function ESELECT_f() {
return options;
}
ESELECT_f.prototype.set = function ESELECT_f() {
- this.out = parseFloat((arguments[0]["out"]))
- this.inh = parseFloat((arguments[0]["inh"]))
- this.nmod = parseFloat((arguments[0]["nmod"]))
+ this.out = parseFloat(arguments[0]["out"])
+ this.inh = parseFloat(arguments[0]["inh"])
+ this.nmod = parseFloat(arguments[0]["nmod"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/EXTRACTOR.js b/js/Branching/EXTRACTOR.js
index c00eba54..c12592d9 100644
--- a/js/Branching/EXTRACTOR.js
+++ b/js/Branching/EXTRACTOR.js
@@ -24,7 +24,7 @@ function EXTRACTOR() {
return options;
}
EXTRACTOR.prototype.set = function EXTRACTOR() {
- this.ind = parseFloat((arguments[0]["ind"]))
+ this.ind = parseFloat(arguments[0]["ind"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/FROM.js b/js/Branching/FROM.js
index d24038a3..f3e50289 100644
--- a/js/Branching/FROM.js
+++ b/js/Branching/FROM.js
@@ -29,7 +29,7 @@ function FROM() {
return options;
}
FROM.prototype.set = function FROM() {
- this.tag = parseFloat((arguments[0]["tag"]))
+ this.tag = arguments[0]["tag"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/FROMMO.js b/js/Branching/FROMMO.js
index 2c695023..e72205b8 100644
--- a/js/Branching/FROMMO.js
+++ b/js/Branching/FROMMO.js
@@ -32,7 +32,7 @@ function FROMMO() {
return options;
}
FROMMO.prototype.set = function FROMMO() {
- this.tag = parseFloat((arguments[0]["tag"]))
+ this.tag = arguments[0]["tag"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js
index 766a5206..137b92df 100644
--- a/js/Branching/GOTO.js
+++ b/js/Branching/GOTO.js
@@ -30,8 +30,8 @@ function GOTO() {
return options;
}
GOTO.prototype.set = function GOTO() {
- this.tag = parseFloat((arguments[0]["tag"]))
- this.tagvis = parseFloat((arguments[0]["tagvis"]))
+ this.tag = arguments[0]["tag"]
+ this.tagvis = parseFloat(arguments[0]["tagvis"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js
index 91c5305b..037755d0 100644
--- a/js/Branching/GOTOMO.js
+++ b/js/Branching/GOTOMO.js
@@ -33,8 +33,8 @@ function GOTOMO() {
return options;
}
GOTOMO.prototype.set = function GOTOMO() {
- this.tag = parseFloat((arguments[0]["tag"]))
- this.tagvis = parseFloat((arguments[0]["tagvis"]))
+ this.tag = arguments[0]["tag"]
+ this.tagvis = parseFloat(arguments[0]["tagvis"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js
index 10491dd0..f1f8b7f9 100644
--- a/js/Branching/GotoTagVisibility.js
+++ b/js/Branching/GotoTagVisibility.js
@@ -29,7 +29,7 @@ function GotoTagVisibility() {
return options;
}
GotoTagVisibility.prototype.set = function GotoTagVisibility() {
- this.tag = parseFloat((arguments[0]["tag"]))
+ this.tag = arguments[0]["tag"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/GotoTagVisibilityMO.js b/js/Branching/GotoTagVisibilityMO.js
index 0dfb2150..3c8577b5 100644
--- a/js/Branching/GotoTagVisibilityMO.js
+++ b/js/Branching/GotoTagVisibilityMO.js
@@ -29,7 +29,7 @@ function GotoTagVisibilityMO() {
return options;
}
GotoTagVisibilityMO.prototype.set = function GotoTagVisibilityMO() {
- this.tag = parseFloat((arguments[0]["tag"]))
+ this.tag = arguments[0]["tag"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/ISELECT_f.js b/js/Branching/ISELECT_f.js
index 4f4a796a..dec270a2 100644
--- a/js/Branching/ISELECT_f.js
+++ b/js/Branching/ISELECT_f.js
@@ -28,8 +28,8 @@ function ISELECT_f() {
return options;
}
ISELECT_f.prototype.set = function ISELECT_f() {
- this.nout = parseFloat((arguments[0]["nout"]))
- this.z0 = parseFloat((arguments[0]["z0"]))
+ this.nout = parseFloat(arguments[0]["nout"])
+ this.z0 = parseFloat(arguments[0]["z0"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/ISELECT_m.js b/js/Branching/ISELECT_m.js
index 20558271..0b4a226b 100644
--- a/js/Branching/ISELECT_m.js
+++ b/js/Branching/ISELECT_m.js
@@ -37,9 +37,9 @@ function ISELECT_m() {
return options;
}
ISELECT_m.prototype.set = function ISELECT_m() {
- this.typ = inverse((arguments[0]["typ"]))
- this.nout = parseFloat((arguments[0]["nout"]))
- this.z0 = parseFloat((arguments[0]["z0"]))
+ this.typ = inverse(arguments[0]["typ"])
+ this.nout = parseFloat(arguments[0]["nout"])
+ this.z0 = parseFloat(arguments[0]["z0"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js
index 60099a23..94582aaa 100644
--- a/js/Branching/MUX.js
+++ b/js/Branching/MUX.js
@@ -23,7 +23,7 @@ function MUX() {
return options;
}
MUX.prototype.set = function MUX() {
- this.in1 = parseFloat((arguments[0]["in1"]))
+ this.in1 = parseFloat(arguments[0]["in1"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/MUX_f.js b/js/Branching/MUX_f.js
index 1d003c87..1feace87 100644
--- a/js/Branching/MUX_f.js
+++ b/js/Branching/MUX_f.js
@@ -23,7 +23,7 @@ function MUX_f() {
return options;
}
MUX_f.prototype.set = function MUX_f() {
- this.in1 = parseFloat((arguments[0]["in1"]))
+ this.in1 = parseFloat(arguments[0]["in1"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/M_SWITCH.js b/js/Branching/M_SWITCH.js
index 4c531d1b..f38c1991 100644
--- a/js/Branching/M_SWITCH.js
+++ b/js/Branching/M_SWITCH.js
@@ -28,9 +28,9 @@ function M_SWITCH() {
return options;
}
M_SWITCH.prototype.set = function M_SWITCH() {
- this.nin = parseFloat((arguments[0]["nin"]))
- this.base = parseFloat((arguments[0]["base"]))
- this.rule = parseFloat((arguments[0]["rule"]))
+ this.nin = parseFloat(arguments[0]["nin"])
+ this.base = parseFloat(arguments[0]["base"])
+ this.rule = arguments[0]["rule"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/NRMSOM_f.js b/js/Branching/NRMSOM_f.js
index 9878558c..72d5ea26 100644
--- a/js/Branching/NRMSOM_f.js
+++ b/js/Branching/NRMSOM_f.js
@@ -24,7 +24,7 @@ function NRMSOM_f() {
return options;
}
NRMSOM_f.prototype.set = function NRMSOM_f() {
- this.nin = parseFloat((arguments[0]["nin"]))
+ this.nin = parseFloat(arguments[0]["nin"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/RELAY_f.js b/js/Branching/RELAY_f.js
index 190b4621..53b3019b 100644
--- a/js/Branching/RELAY_f.js
+++ b/js/Branching/RELAY_f.js
@@ -29,8 +29,8 @@ function RELAY_f() {
return options;
}
RELAY_f.prototype.set = function RELAY_f() {
- this.nin = parseFloat((arguments[0]["nin"]))
- this.z0 = parseFloat((arguments[0]["z0"]))
+ this.nin = parseFloat(arguments[0]["nin"])
+ this.z0 = arguments[0]["z0"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SCALAR2VECTOR.js b/js/Branching/SCALAR2VECTOR.js
index 71373eaf..7167886d 100644
--- a/js/Branching/SCALAR2VECTOR.js
+++ b/js/Branching/SCALAR2VECTOR.js
@@ -23,7 +23,7 @@ function SCALAR2VECTOR() {
return options;
}
SCALAR2VECTOR.prototype.set = function SCALAR2VECTOR() {
- this.nout = parseFloat((arguments[0]["nout"]))
+ this.nout = parseFloat(arguments[0]["nout"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SELECT_f.js b/js/Branching/SELECT_f.js
index 3a64bc60..4fc32b71 100644
--- a/js/Branching/SELECT_f.js
+++ b/js/Branching/SELECT_f.js
@@ -28,8 +28,8 @@ function SELECT_f() {
return options;
}
SELECT_f.prototype.set = function SELECT_f() {
- this.nin = parseFloat((arguments[0]["nin"]))
- this.z0 = parseFloat((arguments[0]["z0"]))
+ this.nin = parseFloat(arguments[0]["nin"])
+ this.z0 = parseFloat(arguments[0]["z0"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SELECT_m.js b/js/Branching/SELECT_m.js
index aef3a43f..70c29d24 100644
--- a/js/Branching/SELECT_m.js
+++ b/js/Branching/SELECT_m.js
@@ -37,9 +37,9 @@ function SELECT_m() {
return options;
}
SELECT_m.prototype.set = function SELECT_m() {
- this.typ = inverse((arguments[0]["typ"]))
- this.nin = parseFloat((arguments[0]["nin"]))
- this.z0 = parseFloat((arguments[0]["z0"]))
+ this.typ = inverse(arguments[0]["typ"])
+ this.nin = parseFloat(arguments[0]["nin"])
+ this.z0 = parseFloat(arguments[0]["z0"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SWITCH2.js b/js/Branching/SWITCH2.js
index 3b338dc2..4054ef85 100644
--- a/js/Branching/SWITCH2.js
+++ b/js/Branching/SWITCH2.js
@@ -32,9 +32,9 @@ function SWITCH2() {
return options;
}
SWITCH2.prototype.set = function SWITCH2() {
- this.rule = parseFloat((arguments[0]["rule"]))
- this.thra = parseFloat((arguments[0]["thra"]))
- this.nzz = parseFloat((arguments[0]["nzz"]))
+ this.rule = parseFloat(arguments[0]["rule"])
+ this.thra = arguments[0]["thra"]
+ this.nzz = parseFloat(arguments[0]["nzz"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js
index c386ff62..6797c0b8 100644
--- a/js/Branching/SWITCH2_m.js
+++ b/js/Branching/SWITCH2_m.js
@@ -36,10 +36,10 @@ function SWITCH2_m() {
return options;
}
SWITCH2_m.prototype.set = function SWITCH2_m() {
- this.ot = parseFloat((arguments[0]["ot"]))
- this.rule = parseFloat((arguments[0]["rule"]))
- this.thra = parseFloat((arguments[0]["thra"]))
- this.nzz = parseFloat((arguments[0]["nzz"]))
+ this.ot = arguments[0]["ot"]
+ this.rule = parseFloat(arguments[0]["rule"])
+ this.thra = arguments[0]["thra"]
+ this.nzz = parseFloat(arguments[0]["nzz"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SWITCH_f.js b/js/Branching/SWITCH_f.js
index 61347cf2..47b4f087 100644
--- a/js/Branching/SWITCH_f.js
+++ b/js/Branching/SWITCH_f.js
@@ -28,8 +28,8 @@ function SWITCH_f() {
return options;
}
SWITCH_f.prototype.set = function SWITCH_f() {
- this.nin = parseFloat((arguments[0]["nin"]))
- this.z0 = parseFloat((arguments[0]["z0"]))
+ this.nin = parseFloat(arguments[0]["nin"])
+ this.z0 = arguments[0]["z0"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;