summaryrefslogtreecommitdiff
path: root/js/Sources/SAWTOOTH_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/SAWTOOTH_f.js')
-rw-r--r--js/Sources/SAWTOOTH_f.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Sources/SAWTOOTH_f.js b/js/Sources/SAWTOOTH_f.js
index 40a2aaa4..655ab346 100644
--- a/js/Sources/SAWTOOTH_f.js
+++ b/js/Sources/SAWTOOTH_f.js
@@ -2,11 +2,11 @@
function SAWTOOTH_f() {
SAWTOOTH_f.prototype.define = function SAWTOOTH_f() {
this.model = scicos_model();
- this.model.sim = new ScilabString("sawtth");
- this.model.out = new ScilabDouble(1);
- this.model.evtin = new ScilabDouble(1);
- this.model.dstate = new ScilabDouble(0);
- this.model.blocktype = new ScilabString("c");
+ this.model.sim = new ScilabString(["sawtth"]);
+ this.model.out = new ScilabDouble([1]);
+ this.model.evtin = new ScilabDouble([1]);
+ this.model.dstate = new ScilabDouble([0]);
+ this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = [false,true];
exprs = " ";
gr_i = [];