summaryrefslogtreecommitdiff
path: root/js/IntegerOp/SRFLIPFLOP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/SRFLIPFLOP.js')
-rw-r--r--js/IntegerOp/SRFLIPFLOP.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js
index 712c5b72..81c949c8 100644
--- a/js/IntegerOp/SRFLIPFLOP.js
+++ b/js/IntegerOp/SRFLIPFLOP.js
@@ -17,17 +17,17 @@ function SRFLIPFLOP() {
scs_m.objs[13-1] = scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[383.03733,238.584],sz=[20,20],flip=true,theta=0,exprs="1",pin=14,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
scs_m.objs[14-1] = scicos_link(xx=[[363.03733],[383.03733]],yy=[[248.584],[248.584]],id="drawlink",thick=[0,0],ct=[1,1],from=[5,2,0],to=[13,1,1]);
this.model = scicos_model();
- this.model.sim = new ScilabString("csuper");
+ this.model.sim = new ScilabString(["csuper"]);
this.model.in1 = [[1],[1]];
this.model.in2 = [[1],[1]];
this.model.out = [[1],[1]];
this.model.out2 = [[1],[1]];
this.model.intyp = [5,5];
this.model.outtyp = [5,5];
- this.model.blocktype = new ScilabString("h");
- this.model.firing = new ScilabBoolean(false);
+ this.model.blocktype = new ScilabString(["h"]);
+ this.model.firing = new ScilabBoolean([false]);
this.model.dep_ut = [true,false];
- this.model.rpar = new ScilabDouble(scs_m);
+ this.model.rpar = new ScilabDouble([scs_m]);
gr_i = [];
this.x = standard_define([2,3],this.model,[],gr_i);
return new BasicBlock(this.x);
@@ -67,7 +67,7 @@ function SRFLIPFLOP() {
}
if (ok) {
xx.graphics.exprs[1-1] = this.exprs0;
- this.model.odstate[1] = new ScilabDouble(this.init);
+ this.model.odstate[1] = new ScilabDouble([this.init]);
xx.model = this.model;
arg1.model.rpar.objs[path-1] = xx;
break;