diff options
author | Sunil Shetye | 2018-07-09 18:10:31 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-10 11:24:53 +0530 |
commit | 9b18945e2e2348db85595fb096a1e1eba04f9baf (patch) | |
tree | bb13cffc501f152b1d33870bdeff6f274aecbf7b /js/Events/EVTDLY_f.js | |
parent | f19304a4fe99556c5ddc35024c818d00ffe7e23a (diff) | |
download | sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.tar.gz sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.tar.bz2 sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.zip |
remove type from list
Diffstat (limited to 'js/Events/EVTDLY_f.js')
-rw-r--r-- | js/Events/EVTDLY_f.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Events/EVTDLY_f.js b/js/Events/EVTDLY_f.js index 80e0455b..75a2562a 100644 --- a/js/Events/EVTDLY_f.js +++ b/js/Events/EVTDLY_f.js @@ -4,12 +4,12 @@ function EVTDLY_f() { this.dt = 0.1; this.ff = this.dt; this.model = scicos_model(); - this.model.sim = new ScilabString("evtdly"); - this.model.evtin = new ScilabDouble(1); - this.model.evtout = new ScilabDouble(1); - this.model.rpar = new ScilabDouble(this.dt); - this.model.blocktype = new ScilabString("d"); - this.model.firing = new ScilabDouble(this.ff); + this.model.sim = new ScilabString(["evtdly"]); + this.model.evtin = new ScilabDouble([1]); + this.model.evtout = new ScilabDouble([1]); + this.model.rpar = new ScilabDouble([this.dt]); + this.model.blocktype = new ScilabString(["d"]); + this.model.firing = new ScilabDouble([this.ff]); this.model.dep_ut = [false,false]; exprs = [[string(this.dt)],[sci2exp(this.ff)]]; gr_i = []; @@ -44,8 +44,8 @@ function EVTDLY_f() { } if (ok) { graphics.exprs = exprs; - this.model.rpar = new ScilabDouble(this.dt); - this.model.firing = new ScilabDouble(this.ff); + this.model.rpar = new ScilabDouble([this.dt]); + this.model.firing = new ScilabDouble([this.ff]); this.x.graphics = graphics; this.x.model = this.model; break; |