From a340efc94b289c1e1956e214baa76aade1de997d Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 27 Jun 2018 12:06:46 +0530 Subject: update function list --- js/Sources/CLOCK_c.js | 2 +- js/Sources/CLOCK_c.pickle | 10 ++++------ js/Sources/STEP_FUNCTION.js | 2 +- js/Sources/STEP_FUNCTION.pickle | 8 +++----- js/Sources/SampleCLK.js | 2 +- 5 files changed, 10 insertions(+), 14 deletions(-) (limited to 'js/Sources') 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); } } -- cgit