summaryrefslogtreecommitdiff
path: root/js/NonLinear/TANBLK_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/TANBLK_f.js')
-rw-r--r--js/NonLinear/TANBLK_f.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/NonLinear/TANBLK_f.js b/js/NonLinear/TANBLK_f.js
index a0e07ae7..c92309d8 100644
--- a/js/NonLinear/TANBLK_f.js
+++ b/js/NonLinear/TANBLK_f.js
@@ -10,14 +10,15 @@ function TANBLK_f() {
model.dep_ut = [true,false];
exprs = sci2exp(in1);
gr_i = [];
- x = standard_define([2,2],model,exprs,gr_i);
+ this.x = standard_define([2,2],model,exprs,gr_i);
}
TANBLK_f.prototype.details = function TANBLK_f() {
+ return this.x;
}
TANBLK_f.prototype.get = function TANBLK_f() {
}
TANBLK_f.prototype.set = function TANBLK_f() {
- x = arg1;
- x.model.firing = [];
+ this.x = arg1;
+ this.x.model.firing = [];
}
}