summaryrefslogtreecommitdiff
path: root/js/Misc/generic_block2.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/generic_block2.js')
-rw-r--r--js/Misc/generic_block2.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Misc/generic_block2.js b/js/Misc/generic_block2.js
index c42f797b..7eb9f7f5 100644
--- a/js/Misc/generic_block2.js
+++ b/js/Misc/generic_block2.js
@@ -19,6 +19,7 @@ function generic_block2() {
label = [[function_name],[sci2exp(funtyp)],[sci2exp(model.in1)],[sci2exp(model.out)],[sci2exp(model.evtin)],[sci2exp(model.evtout)],[sci2exp(model.state)],[sci2exp(model.dstate)],[sci2exp(model.rpar)],[sci2exp(model.ipar)],[sci2exp(model.nmode)],[sci2exp(model.nzcross)],[sci2exp(model.firing)],["y"],["n"]];
gr_i = [];
this.x = standard_define([2,2],model,label,gr_i);
+ return new BasicBlock(this.x);
}
generic_block2.prototype.details = function generic_block2() {
return this.x;
@@ -96,5 +97,6 @@ function generic_block2() {
}
}
needcompile=resume(needcompile)
+ return new BasicBlock(this.x);
}
}