diff options
author | Sunil Shetye | 2018-07-09 18:10:31 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-10 11:24:53 +0530 |
commit | 9b18945e2e2348db85595fb096a1e1eba04f9baf (patch) | |
tree | bb13cffc501f152b1d33870bdeff6f274aecbf7b /js/Sources/IN_f.js | |
parent | f19304a4fe99556c5ddc35024c818d00ffe7e23a (diff) | |
download | sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.tar.gz sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.tar.bz2 sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.zip |
remove type from list
Diffstat (limited to 'js/Sources/IN_f.js')
-rw-r--r-- | js/Sources/IN_f.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/js/Sources/IN_f.js b/js/Sources/IN_f.js index d3a1e578..0496b565 100644 --- a/js/Sources/IN_f.js +++ b/js/Sources/IN_f.js @@ -3,12 +3,12 @@ function IN_f() { IN_f.prototype.define = function IN_f() { prt = 1; this.model = scicos_model(); - this.model.sim = new ScilabString("input"); - this.model.out = new ScilabDouble(-1); - this.model.out2 = new ScilabDouble(-2); - this.model.outtyp = new ScilabDouble(-1); - this.model.ipar = new ScilabDouble(prt); - this.model.blocktype = new ScilabString("c"); + this.model.sim = new ScilabString(["input"]); + this.model.out = new ScilabDouble([-1]); + this.model.out2 = new ScilabDouble([-2]); + this.model.outtyp = new ScilabDouble([-1]); + this.model.ipar = new ScilabDouble([prt]); + this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [false,false]; exprs = sci2exp(prt); gr_i = []; @@ -51,11 +51,11 @@ function IN_f() { needcompile = 4; y = needcompile; } - this.model.ipar = new ScilabDouble(prt); + this.model.ipar = new ScilabDouble([prt]); this.model.firing = []; - this.model.out = new ScilabDouble(otsz[1-1]); - this.model.out2 = new ScilabDouble(otsz[2-1]); - this.model.outtyp = new ScilabDouble(ot); + this.model.out = new ScilabDouble([otsz[1-1]]); + this.model.out2 = new ScilabDouble([otsz[2-1]]); + this.model.outtyp = new ScilabDouble([ot]); graphics.exprs = exprs; this.x.graphics = graphics; this.x.model = this.model; |