summaryrefslogtreecommitdiff
path: root/js/Sinks/CSCOPXY.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sinks/CSCOPXY.js')
-rw-r--r--js/Sinks/CSCOPXY.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js
index c9f2b9e6..a5c63ce1 100644
--- a/js/Sinks/CSCOPXY.js
+++ b/js/Sinks/CSCOPXY.js
@@ -13,14 +13,14 @@ function CSCOPXY() {
this.ymax = 15;
this.nbr_curves = 1;
this.model = scicos_model();
- this.model.sim = list(new ScilabString("cscopxy"),new ScilabDouble(4));
+ this.model.sim = list(new ScilabString(["cscopxy"]), new ScilabDouble([4]));
this.model.in1 = [[1],[1]];
this.model.in2 = [[1],[1]];
this.model.intyp = [[1],[1]];
- this.model.evtin = new ScilabDouble(1);
+ this.model.evtin = new ScilabDouble([1]);
this.model.rpar = [[this.xmin],[this.xmax],[this.ymin],[this.ymax]];
this.model.ipar = [[this.win],[1],[this.N],[this.clrs],[this.siz],[1],[this.wpos.slice()],[this.wdim.slice()],[this.nbr_curves]];
- this.model.blocktype = new ScilabString("d");
+ this.model.blocktype = new ScilabString(["d"]);
this.model.dep_ut = [false,false];
exprs = [[string(this.nbr_curves)],[sci2exp(this.clrs)],[sci2exp(this.siz)],[string(this.win)],[sci2exp([])],[sci2exp(this.wdim)],[string(this.xmin)],[string(this.xmax)],[string(this.ymin)],[string(this.ymax)],[string(this.N)]];
gr_i = [];