summaryrefslogtreecommitdiff
path: root/js/Sinks/CEVENTSCOPE.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sinks/CEVENTSCOPE.js')
-rw-r--r--js/Sinks/CEVENTSCOPE.js10
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;