diff options
Diffstat (limited to 'js/Sources/FROMWS_c.js')
-rw-r--r-- | js/Sources/FROMWS_c.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Sources/FROMWS_c.js b/js/Sources/FROMWS_c.js index c5ca8be4..36c4ee6f 100644 --- a/js/Sources/FROMWS_c.js +++ b/js/Sources/FROMWS_c.js @@ -6,15 +6,15 @@ function FROMWS_c() { this.ZC = 1; this.OutEnd = 0; this.model = scicos_model(); - this.model.sim = list(new ScilabString("fromws_c"),new ScilabDouble(4)); - this.model.out = new ScilabDouble(-1); - this.model.out2 = new ScilabDouble(-2); - this.model.outtyp = new ScilabDouble(-1); + this.model.sim = list(new ScilabString(["fromws_c"]), new ScilabDouble([4])); + this.model.out = new ScilabDouble([-1]); + this.model.out2 = new ScilabDouble([-2]); + this.model.outtyp = new ScilabDouble([-1]); this.model.ipar = [[length(this.varnam)],[this._str2code[this.varnam-1]],[this.Method],[this.ZC],[this.OutEnd]]; this.model.evtin = [1]; this.model.evtout = [1]; this.model.firing = [0]; - this.model.blocktype = new ScilabString("d"); + this.model.blocktype = new ScilabString(["d"]); this.model.dep_ut = [false,true]; gr_i = []; exprs = [[string(this.varnam)],[string(this.Method)],[string(this.ZC)],[string(this.OutEnd)]]; |