diff options
author | Sunil Shetye | 2018-07-15 07:29:25 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-16 15:31:24 +0530 |
commit | 1896e61799fda88188ffc3a8df12a4029361048c (patch) | |
tree | 08454cae6871e080e52d8087369ee43acc0a48d0 /js/Misc/EDGE_TRIGGER.js | |
parent | 92f8a251bbaeddf6ec034722a3079d865517d650 (diff) | |
download | sci2js-1896e61799fda88188ffc3a8df12a4029361048c.tar.gz sci2js-1896e61799fda88188ffc3a8df12a4029361048c.tar.bz2 sci2js-1896e61799fda88188ffc3a8df12a4029361048c.zip |
support string vector also
Diffstat (limited to 'js/Misc/EDGE_TRIGGER.js')
-rw-r--r-- | js/Misc/EDGE_TRIGGER.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Misc/EDGE_TRIGGER.js b/js/Misc/EDGE_TRIGGER.js index 8662ade4..4699c0b0 100644 --- a/js/Misc/EDGE_TRIGGER.js +++ b/js/Misc/EDGE_TRIGGER.js @@ -40,7 +40,7 @@ function EDGE_TRIGGER() { this.model = blk.model; this.graphics.orig = new ScilabDouble([0,10]); this.graphics.sz = new ScilabDouble([20,20]); - this.graphics.exprs = new ScilabDouble(["1"]); + this.graphics.exprs = new ScilabString(["1"]); this.model.ipar = new ScilabDouble([1]); this.graphics.pout = new ScilabDouble([5]); blk.graphics = this.graphics; @@ -51,7 +51,7 @@ function EDGE_TRIGGER() { this.model = blk.model; this.graphics.orig = new ScilabDouble([170,-60]); this.graphics.sz = new ScilabDouble([20,20]); - this.graphics.exprs = new ScilabDouble(["1"]); + this.graphics.exprs = new ScilabString(["1"]); this.model.ipar = new ScilabDouble([1]); this.graphics.pein = new ScilabDouble([7]); blk.graphics = this.graphics; |