summaryrefslogtreecommitdiff
path: root/js/IntegerOp/DFLIPFLOP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/DFLIPFLOP.js')
-rw-r--r--js/IntegerOp/DFLIPFLOP.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js
index bf597aee..da878654 100644
--- a/js/IntegerOp/DFLIPFLOP.js
+++ b/js/IntegerOp/DFLIPFLOP.js
@@ -88,8 +88,8 @@ function DFLIPFLOP() {
this.model.firing = new ScilabBoolean([false]);
this.model.dep_ut = new ScilabDouble([true,false]);
this.model.rpar = new ScilabDouble([scs_m]);
- var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DFLIPFLOP\",sz(1),sz(2));"]);
- this.x = standard_define([2,3],this.model,[],gr_i);
+ this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DFLIPFLOP\",sz(1),sz(2));"]);
+ this.x = standard_define([2,3],this.model,[],this.gr_i);
return new BasicBlock(this.x);
}
DFLIPFLOP.prototype.details = function DFLIPFLOP() {