summaryrefslogtreecommitdiff
path: root/js/Misc/IMPSPLIT_f.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-25 18:20:39 +0530
committerSunil Shetye2018-06-26 11:06:22 +0530
commit7465daea85285ba7f291b6bf6ddc45caa9e7ad65 (patch)
treee8e3e4dd60d469c290d55de15644ddbc1e013bc6 /js/Misc/IMPSPLIT_f.js
parent7c70459c10aed0d74ee03896abaf47fefdbf7c8f (diff)
downloadsci2js-7465daea85285ba7f291b6bf6ddc45caa9e7ad65.tar.gz
sci2js-7465daea85285ba7f291b6bf6ddc45caa9e7ad65.tar.bz2
sci2js-7465daea85285ba7f291b6bf6ddc45caa9e7ad65.zip
add spacing to end of block also
Diffstat (limited to 'js/Misc/IMPSPLIT_f.js')
-rw-r--r--js/Misc/IMPSPLIT_f.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/js/Misc/IMPSPLIT_f.js b/js/Misc/IMPSPLIT_f.js
index 25e4799d..13d25e0b 100644
--- a/js/Misc/IMPSPLIT_f.js
+++ b/js/Misc/IMPSPLIT_f.js
@@ -10,15 +10,16 @@ function IMPSPLIT_f() {
model.equations = mo;
model.in1 = ones(size(mo.inputs,"*"),1);
model.out = ones(size(mo.outputs,"*"),1);
- x = standard_define([1,1]/3,model,[],[]);
- x.graphics.in_implicit = ["I"];
- x.graphics.out_implicit = ["I","I"];
+ this.x = standard_define([1,1]/3,model,[],[]);
+ this.x.graphics.in_implicit = ["I"];
+ this.x.graphics.out_implicit = ["I","I"];
}
IMPSPLIT_f.prototype.details = function IMPSPLIT_f() {
+ return this.x;
}
IMPSPLIT_f.prototype.get = function IMPSPLIT_f() {
}
IMPSPLIT_f.prototype.set = function IMPSPLIT_f() {
- x = arg1;
+ this.x = arg1;
}
}