summaryrefslogtreecommitdiff
path: root/js/IntegerOp
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp')
-rw-r--r--js/IntegerOp/JKFLIPFLOP.js3
-rw-r--r--js/IntegerOp/JKFLIPFLOP.pickle14
-rw-r--r--js/IntegerOp/SRFLIPFLOP.js3
-rw-r--r--js/IntegerOp/SRFLIPFLOP.pickle14
4 files changed, 14 insertions, 20 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;
diff --git a/js/IntegerOp/JKFLIPFLOP.pickle b/js/IntegerOp/JKFLIPFLOP.pickle
index 657cb309..0af24303 100644
--- a/js/IntegerOp/JKFLIPFLOP.pickle
+++ b/js/IntegerOp/JKFLIPFLOP.pickle
@@ -2,18 +2,16 @@ c__builtin__
set
p0
((lp1
-S'exprs0'
+S'x'
p2
-aS'x'
-p3
aS'model'
-p4
+p3
aS'init'
-p5
+p4
aS'graphics'
-p6
-atp7
-Rp8
+p5
+atp6
+Rp7
.(dp0
S'xx.model'
p1
diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js
index 5b694318..ace36bd6 100644
--- a/js/IntegerOp/SRFLIPFLOP.js
+++ b/js/IntegerOp/SRFLIPFLOP.js
@@ -54,7 +54,6 @@ function SRFLIPFLOP() {
while (true) {
var ok = true;
this.init = parseFloat(arguments[0]["init"]);
- this.exprs0 = arguments[0]["exprs0"];
if (!ok) {
break;
}
@@ -64,7 +63,7 @@ function SRFLIPFLOP() {
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;
diff --git a/js/IntegerOp/SRFLIPFLOP.pickle b/js/IntegerOp/SRFLIPFLOP.pickle
index a4f8d716..6c6e5481 100644
--- a/js/IntegerOp/SRFLIPFLOP.pickle
+++ b/js/IntegerOp/SRFLIPFLOP.pickle
@@ -2,18 +2,16 @@ c__builtin__
set
p0
((lp1
-S'exprs0'
+S'x'
p2
-aS'x'
-p3
aS'model'
-p4
+p3
aS'init'
-p5
+p4
aS'graphics'
-p6
-atp7
-Rp8
+p5
+atp6
+Rp7
.(dp0
S'xx.model'
p1