summaryrefslogtreecommitdiff
path: root/js/Misc/ENDBLK.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/ENDBLK.js')
-rw-r--r--js/Misc/ENDBLK.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Misc/ENDBLK.js b/js/Misc/ENDBLK.js
index ad60a07f..384c2020 100644
--- a/js/Misc/ENDBLK.js
+++ b/js/Misc/ENDBLK.js
@@ -7,6 +7,7 @@ function ENDBLK() {
model = scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list());
gr_i = [];
this.x = standard_define([2,2],model,[],gr_i);
+ return new BasicBlock(this.x);
}
ENDBLK.prototype.details = function ENDBLK() {
return this.x;
@@ -81,5 +82,6 @@ function ENDBLK() {
}
this.x = arg1;
typ = newpar;
+ return new BasicBlock(this.x);
}
}