summaryrefslogtreecommitdiff
path: root/js/Branching/GOTOMO.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-09 18:10:31 +0530
committerSunil Shetye2018-07-10 11:24:53 +0530
commit9b18945e2e2348db85595fb096a1e1eba04f9baf (patch)
treebb13cffc501f152b1d33870bdeff6f274aecbf7b /js/Branching/GOTOMO.js
parentf19304a4fe99556c5ddc35024c818d00ffe7e23a (diff)
downloadsci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.tar.gz
sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.tar.bz2
sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.zip
remove type from list
Diffstat (limited to 'js/Branching/GOTOMO.js')
-rw-r--r--js/Branching/GOTOMO.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js
index bd12f72e..81683fcd 100644
--- a/js/Branching/GOTOMO.js
+++ b/js/Branching/GOTOMO.js
@@ -2,16 +2,16 @@
function GOTOMO() {
GOTOMO.prototype.define = function GOTOMO() {
this.model = scicos_model();
- this.model.sim = new ScilabString("gotomo");
- this.model.in1 = new ScilabDouble(-1);
- this.model.in2 = new ScilabDouble(-2);
+ this.model.sim = new ScilabString(["gotomo"]);
+ this.model.in1 = new ScilabDouble([-1]);
+ this.model.in2 = new ScilabDouble([-2]);
this.model.intyp = [];
this.model.out = [];
this.model.out2 = [];
- this.model.outtyp = new ScilabDouble(1);
- this.model.ipar = new ScilabDouble(int(1));
- this.model.opar = list(new ScilabString("A"));
- this.model.blocktype = new ScilabString("c");
+ this.model.outtyp = new ScilabDouble([1]);
+ this.model.ipar = new ScilabDouble([int(1)]);
+ this.model.opar = list(new ScilabString(["A"]));
+ this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = [false,false];
mo = modelica();
mo.model = "gotomo";
@@ -55,8 +55,8 @@ function GOTOMO() {
y = needcompile;
}
graphics.exprs = exprs;
- this.model.opar = list(new ScilabDouble(this.tag));
- this.model.ipar = new ScilabDouble(this.tagvis);
+ this.model.opar = list(new ScilabDouble([this.tag]));
+ this.model.ipar = new ScilabDouble([this.tagvis]);
this.x.model = this.model;
this.x.graphics = graphics;
arg1 = this.x;