diff options
Diffstat (limited to 'js/IntegerOp/DFLIPFLOP.js')
-rw-r--r-- | js/IntegerOp/DFLIPFLOP.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js index b8c6a7a5..9ffb7bd8 100644 --- a/js/IntegerOp/DFLIPFLOP.js +++ b/js/IntegerOp/DFLIPFLOP.js @@ -77,17 +77,17 @@ function DFLIPFLOP() { scs_m.objs[43-1] = scicos_link(xx=[[253.72572],[312.19705],[312.19705]],yy=[[309.29537],[309.29537],[299.28749]],id="drawlink",thick=[0,0],ct=[5,-1],from=[41,2,0],to=[32,1,1]); scs_m.objs[44-1] = scicos_link(xx=[[279.98293],[279.98293],[325.53038],[325.53038]],yy=[[372.50232],[315.89455],[315.89455],[299.28749]],id="drawlink",thick=[0,0],ct=[5,-1],from=[2,2,0],to=[32,2,1]); this.model = scicos_model(); - this.model.sim = new ScilabString("csuper"); + this.model.sim = new ScilabString(["csuper"]); this.model.in1 = [[1],[1],[1]]; this.model.in2 = [[1],[1],[1]]; this.model.out = [[1],[1]]; this.model.out2 = [[1],[1]]; this.model.intyp = [5,1,1]; 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); |