summaryrefslogtreecommitdiff
path: root/js/Sinks/CFSCOPE.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sinks/CFSCOPE.js')
-rw-r--r--js/Sinks/CFSCOPE.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Sinks/CFSCOPE.js b/js/Sinks/CFSCOPE.js
index 8fad283d..be63e978 100644
--- a/js/Sinks/CFSCOPE.js
+++ b/js/Sinks/CFSCOPE.js
@@ -10,11 +10,11 @@ function CFSCOPE() {
this.ymax = 15;
this.per = 30;
this.model = scicos_model();
- this.model.sim = list(new ScilabString("cfscope"),new ScilabDouble(4));
- this.model.evtin = new ScilabDouble(1);
+ this.model.sim = list(new ScilabString(["cfscope"]), new ScilabDouble([4]));
+ this.model.evtin = new ScilabDouble([1]);
this.model.rpar = [[0],[this.ymin],[this.ymax],[this.per]];
this.model.ipar = [[this.win],[1],[this.N],[this.clrs],[this.wpos],[this.wdim],[1],[1]];
- this.model.blocktype = new ScilabString("c");
+ this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = [true,false];
exprs = [[strcat(string(this.clrs)," ")],[string(this.win)],[sci2exp([])],[sci2exp(this.wdim)],[string(this.ymin)],[string(this.ymax)],[string(this.per)],[string(this.N)],[string([1])]];
gr_i = [];