diff options
Diffstat (limited to 'js/IntegerOp/DFLIPFLOP.js')
-rw-r--r-- | js/IntegerOp/DFLIPFLOP.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js index 1831526e..5a703f00 100644 --- a/js/IntegerOp/DFLIPFLOP.js +++ b/js/IntegerOp/DFLIPFLOP.js @@ -89,13 +89,14 @@ function DFLIPFLOP() { model.dep_ut = [true,false]; model.rpar = scs_m; gr_i = []; - x = standard_define([2,3],model,[],gr_i); + this.x = standard_define([2,3],model,[],gr_i); } DFLIPFLOP.prototype.details = function DFLIPFLOP() { + return this.x; } DFLIPFLOP.prototype.get = function DFLIPFLOP() { } DFLIPFLOP.prototype.set = function DFLIPFLOP() { - x = arg1; + this.x = arg1; } } |