summaryrefslogtreecommitdiff
path: root/js/Sources
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources')
-rw-r--r--js/Sources/CLOCK_c.js2
-rw-r--r--js/Sources/CLOCK_c.pickle10
-rw-r--r--js/Sources/STEP_FUNCTION.js2
-rw-r--r--js/Sources/STEP_FUNCTION.pickle8
-rw-r--r--js/Sources/SampleCLK.js2
5 files changed, 10 insertions, 14 deletions
diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js
index 5dd8d867..5ca837b0 100644
--- a/js/Sources/CLOCK_c.js
+++ b/js/Sources/CLOCK_c.js
@@ -1,7 +1,7 @@
/* autogenerated from "macros/Sources/CLOCK_c.sci" */
function CLOCK_c() {
CLOCK_c.prototype.define = function CLOCK_c() {
- evtdly = this.EVTDLY_c["define"-1];
+ evtdly = EVTDLY_c("define");
evtdly.graphics.orig = [320,232];
evtdly.graphics.sz = [40,40];
evtdly.graphics.flip = true;
diff --git a/js/Sources/CLOCK_c.pickle b/js/Sources/CLOCK_c.pickle
index ecce30af..5cf559c5 100644
--- a/js/Sources/CLOCK_c.pickle
+++ b/js/Sources/CLOCK_c.pickle
@@ -6,12 +6,10 @@ S'x'
p2
aS'dt'
p3
-aS'EVTDLY_c'
-p4
aS'exprs0'
-p5
+p4
aS't0'
-p6
-atp7
-Rp8
+p5
+atp6
+Rp7
. \ No newline at end of file
diff --git a/js/Sources/STEP_FUNCTION.js b/js/Sources/STEP_FUNCTION.js
index 1c28e304..a255a1fc 100644
--- a/js/Sources/STEP_FUNCTION.js
+++ b/js/Sources/STEP_FUNCTION.js
@@ -2,7 +2,7 @@
function STEP_FUNCTION() {
STEP_FUNCTION.prototype.define = function STEP_FUNCTION() {
scs_m_1 = scicos_diagram();
- scs_m_1.objs[1-1] = this.STEP["define"-1];
+ scs_m_1.objs[1-1] = STEP("define");
scs_m_1.objs[2-1] = OUT_f("define");
scs_m_1.objs[3-1] = scicos_link();
scs_m_1.objs[4-1] = scicos_link();
diff --git a/js/Sources/STEP_FUNCTION.pickle b/js/Sources/STEP_FUNCTION.pickle
index 85e1e424..a010fd54 100644
--- a/js/Sources/STEP_FUNCTION.pickle
+++ b/js/Sources/STEP_FUNCTION.pickle
@@ -4,10 +4,8 @@ p0
((lp1
S'x'
p2
-aS'STEP'
-p3
aS'xxn'
-p4
-atp5
-Rp6
+p3
+atp4
+Rp5
. \ No newline at end of file
diff --git a/js/Sources/SampleCLK.js b/js/Sources/SampleCLK.js
index 741b0d59..514c8bf2 100644
--- a/js/Sources/SampleCLK.js
+++ b/js/Sources/SampleCLK.js
@@ -49,7 +49,7 @@ function SampleCLK() {
break;
}
}
- needcompile=resume(needcompile)
+ needcompile = resume(needcompile)
return new BasicBlock(this.x);
}
}