summaryrefslogtreecommitdiff
path: root/js/IntegerOp/JKFLIPFLOP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/JKFLIPFLOP.js')
-rw-r--r--js/IntegerOp/JKFLIPFLOP.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js
index e6907cc5..3d22f43c 100644
--- a/js/IntegerOp/JKFLIPFLOP.js
+++ b/js/IntegerOp/JKFLIPFLOP.js
@@ -70,7 +70,6 @@ function JKFLIPFLOP() {
while (true) {
var ok = true;
this.init = parseFloat(arguments[0]["init"]);
- this.exprs0 = arguments[0]["exprs0"];
if (!ok) {
break;
}
@@ -80,7 +79,7 @@ function JKFLIPFLOP() {
this.init = int8(1);
}
if (ok) {
- xx.graphics.exprs[1-1] = this.exprs0;
+ xx.graphics.exprs[1-1] = exprs0;
this.model.odstate[1-1] = new ScilabDouble([this.init]);
xx.model = this.model;
break;