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/Sinks/CEVENTSCOPE.js | |
parent | f19304a4fe99556c5ddc35024c818d00ffe7e23a (diff) | |
download | sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.tar.gz sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.tar.bz2 sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.zip |
remove type from list
Diffstat (limited to 'js/Sinks/CEVENTSCOPE.js')
-rw-r--r-- | js/Sinks/CEVENTSCOPE.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js index 3a9a058f..1f612e6a 100644 --- a/js/Sinks/CEVENTSCOPE.js +++ b/js/Sinks/CEVENTSCOPE.js @@ -8,11 +8,11 @@ function CEVENTSCOPE() { this.wpos = [[-1],[-1]]; this.per = 30; this.model = scicos_model(); - this.model.sim = list(new ScilabString("cevscpe"),new ScilabDouble(4)); - this.model.evtin = new ScilabDouble(1); - this.model.rpar = new ScilabDouble(this.per); + this.model.sim = list(new ScilabString(["cevscpe"]), new ScilabDouble([4])); + this.model.evtin = new ScilabDouble([1]); + this.model.rpar = new ScilabDouble([this.per]); this.model.ipar = [[this.win],[1],[this.clrs[this.nclock-1]],[this.wpos.slice()],[this.wdim.slice()]]; - this.model.blocktype = new ScilabString("d"); + this.model.blocktype = new ScilabString(["d"]); this.model.dep_ut = [false,false]; exprs = [[sci2exp(this.nclock)],[strcat(sci2exp(this.clrs[this.nclock-1])," ")],[string(this.win)],[sci2exp([])],[sci2exp(this.wdim)],[string(this.per)]]; gr_i = []; @@ -91,7 +91,7 @@ function CEVENTSCOPE() { } rpar = this.per; ipar = [[this.win],[1],[this.clrs.slice()],[this.wpos.slice()],[this.wdim.slice()]]; - this.model.rpar = new ScilabDouble(rpar); + this.model.rpar = new ScilabDouble([rpar]); this.model.ipar = ipar; graphics.exprs = exprs; this.x.graphics = graphics; |