summaryrefslogtreecommitdiff
path: root/js/Misc/PAL_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/PAL_f.js')
-rw-r--r--js/Misc/PAL_f.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Misc/PAL_f.js b/js/Misc/PAL_f.js
index 4b4f51bb..c06c86e8 100644
--- a/js/Misc/PAL_f.js
+++ b/js/Misc/PAL_f.js
@@ -4,11 +4,11 @@ function PAL_f() {
scs = scicos_diagram();
scs.props.title = "Palette";
this.model = scicos_model();
- this.model.sim = new ScilabString("palette");
+ this.model.sim = new ScilabString(["palette"]);
this.model.in1 = [];
this.model.out = [];
- this.model.rpar = new ScilabDouble(scs);
- this.model.blocktype = new ScilabString("h");
+ this.model.rpar = new ScilabDouble([scs]);
+ this.model.blocktype = new ScilabString(["h"]);
this.model.dep_ut = [false,false];
gr_i = [];
this.x = standard_define([2,2],this.model,[],gr_i);