diff options
Diffstat (limited to 'js/Misc/EDGETRIGGER.js')
-rw-r--r-- | js/Misc/EDGETRIGGER.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/EDGETRIGGER.js b/js/Misc/EDGETRIGGER.js index fcbf7b41..5ecdcb0a 100644 --- a/js/Misc/EDGETRIGGER.js +++ b/js/Misc/EDGETRIGGER.js @@ -3,7 +3,7 @@ function EDGETRIGGER() { EDGETRIGGER.prototype.define = function EDGETRIGGER() { this.edge = 1; this.model = scicos_model(); - this.model.sim = list("edgetrig",4); + this.model.sim = list(new ScilabString("edgetrig"),new ScilabDouble(4)); this.model.in1 = new ScilabDouble(1); this.model.out = new ScilabDouble(1); this.model.dstate = new ScilabDouble(0); |