summaryrefslogtreecommitdiff
path: root/js/Linear/SAMPHOLD.js
diff options
context:
space:
mode:
authorSunil Shetye2018-08-24 11:46:02 +0530
committerSunil Shetye2018-08-27 16:43:40 +0530
commit3386d0d537a498adce65f313aacb7ca4a147a4d2 (patch)
treedc8b98c70c10cec2c9f3f37b5858e1afd6554698 /js/Linear/SAMPHOLD.js
parent9fee9bd7e5e356e872c7a539d4a6cfa89cae593c (diff)
downloadsci2js-3386d0d537a498adce65f313aacb7ca4a147a4d2.tar.gz
sci2js-3386d0d537a498adce65f313aacb7ca4a147a4d2.tar.bz2
sci2js-3386d0d537a498adce65f313aacb7ca4a147a4d2.zip
remove exprs and gr_i from default global list
Diffstat (limited to 'js/Linear/SAMPHOLD.js')
-rw-r--r--js/Linear/SAMPHOLD.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Linear/SAMPHOLD.js b/js/Linear/SAMPHOLD.js
index 2ff6cc6c..6340d7cc 100644
--- a/js/Linear/SAMPHOLD.js
+++ b/js/Linear/SAMPHOLD.js
@@ -9,8 +9,8 @@ function SAMPHOLD() {
this.model.evtin = new ScilabDouble([1]);
this.model.blocktype = new ScilabString(["d"]);
this.model.dep_ut = new ScilabBoolean([true,false]);
- this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SAMPHOLD\",sz(1),sz(2));"]);
- this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString([" "]),this.gr_i);
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SAMPHOLD\",sz(1),sz(2));"]);
+ this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString([" "]),gr_i);
return new BasicBlock(this.x);
}
SAMPHOLD.prototype.details = function SAMPHOLD() {