summaryrefslogtreecommitdiff
path: root/js/Misc/EDGETRIGGER.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/EDGETRIGGER.js')
-rw-r--r--js/Misc/EDGETRIGGER.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/EDGETRIGGER.js b/js/Misc/EDGETRIGGER.js
index f0699af4..04b3881a 100644
--- a/js/Misc/EDGETRIGGER.js
+++ b/js/Misc/EDGETRIGGER.js
@@ -13,7 +13,7 @@ function EDGETRIGGER() {
this.model.dep_ut = new ScilabBoolean([true,false]);
this.exprs = [string(this.edge)];
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"EDGETRIGGER\",sz(1),sz(2));"]);
- this.x = new standard_define(new ScilabDouble([3,2]),this.model,this.exprs,this.gr_i);
+ this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabString(this.exprs),this.gr_i);
return new BasicBlock(this.x);
}
EDGETRIGGER.prototype.details = function EDGETRIGGER() {