summaryrefslogtreecommitdiff
path: root/js/Misc/Extract_Activation.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-11 13:05:13 +0530
committerSunil Shetye2018-07-11 15:21:08 +0530
commit079d0b4a3ec15a4d7d2644484d116df9d1c694bb (patch)
tree785ed59b5b238203a9e91f3e323da59d1083d86e /js/Misc/Extract_Activation.js
parent0e9bc36f45fa1bb598c6ebb0febc1989439a8d98 (diff)
downloadsci2js-079d0b4a3ec15a4d7d2644484d116df9d1c694bb.tar.gz
sci2js-079d0b4a3ec15a4d7d2644484d116df9d1c694bb.tar.bz2
sci2js-079d0b4a3ec15a4d7d2644484d116df9d1c694bb.zip
fix assignment to list
Diffstat (limited to 'js/Misc/Extract_Activation.js')
-rw-r--r--js/Misc/Extract_Activation.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/js/Misc/Extract_Activation.js b/js/Misc/Extract_Activation.js
index d8fcaa48..1497b6a1 100644
--- a/js/Misc/Extract_Activation.js
+++ b/js/Misc/Extract_Activation.js
@@ -1,7 +1,7 @@
/* autogenerated from "macros/Misc/Extract_Activation.sci" */
function Extract_Activation() {
Extract_Activation.prototype.define = function Extract_Activation() {
- scs_m_1 = scicos_diagram();
+ var scs_m_1 = scicos_diagram();
scs_m_1.objs[1-1] = IFTHEL_f("define");
scs_m_1.objs[2-1] = CLKSOMV_f("define");
scs_m_1.objs[3-1] = IN_f("define");
@@ -10,8 +10,8 @@ function Extract_Activation() {
scs_m_1.objs[6-1] = scicos_link();
scs_m_1.objs[7-1] = scicos_link();
scs_m_1.objs[8-1] = scicos_link();
- blk = scs_m_1.objs[1-1];
- graphics = blk.graphics;
+ var blk = scs_m_1.objs[1-1];
+ var graphics = blk.graphics;
this.model = blk.model;
graphics.orig = [80,0];
graphics.sz = [60,40];
@@ -24,8 +24,8 @@ function Extract_Activation() {
blk.graphics = graphics;
blk.model = this.model;
scs_m_1.objs[1-1] = blk;
- blk = scs_m_1.objs[2-1];
- graphics = blk.graphics;
+ var blk = scs_m_1.objs[2-1];
+ var graphics = blk.graphics;
this.model = blk.model;
graphics.orig = [80,-80];
graphics.sz = [80,40];
@@ -34,8 +34,8 @@ function Extract_Activation() {
blk.graphics = graphics;
blk.model = this.model;
scs_m_1.objs[2-1] = blk;
- blk = scs_m_1.objs[3-1];
- graphics = blk.graphics;
+ var blk = scs_m_1.objs[3-1];
+ var graphics = blk.graphics;
this.model = blk.model;
graphics.orig = [0,10];
graphics.sz = [20,20];
@@ -45,8 +45,8 @@ function Extract_Activation() {
blk.graphics = graphics;
blk.model = this.model;
scs_m_1.objs[3-1] = blk;
- blk = scs_m_1.objs[4-1];
- graphics = blk.graphics;
+ var blk = scs_m_1.objs[4-1];
+ var graphics = blk.graphics;
this.model = blk.model;
graphics.orig = [110,-140];
graphics.sz = [20,20];
@@ -56,21 +56,21 @@ function Extract_Activation() {
blk.graphics = graphics;
blk.model = this.model;
scs_m_1.objs[4-1] = blk;
- lnk = scs_m_1.objs[5-1];
+ var lnk = scs_m_1.objs[5-1];
lnk.ct = [5,-1];
lnk.from = [1,1,0];
lnk.to = [2,1,1];
scs_m_1.objs[5-1] = lnk;
- lnk = scs_m_1.objs[6-1];
+ var lnk = scs_m_1.objs[6-1];
lnk.ct = [5,-1];
lnk.from = [1,2,0];
lnk.to = [2,2,1];
scs_m_1.objs[6-1] = lnk;
- lnk = scs_m_1.objs[7-1];
+ var lnk = scs_m_1.objs[7-1];
lnk.from = [3,1,0];
lnk.to = [1,1,1];
scs_m_1.objs[7-1] = lnk;
- lnk = scs_m_1.objs[8-1];
+ var lnk = scs_m_1.objs[8-1];
lnk.ct = [5,-1];
lnk.from = [2,1,0];
lnk.to = [4,1,1];
@@ -82,7 +82,7 @@ function Extract_Activation() {
this.model.in1 = new ScilabDouble([1]);
this.model.evtout = new ScilabDouble([1]);
this.model.rpar = scs_m_1;
- gr_i = [];
+ var gr_i = [];
this.x = standard_define([3,2],this.model,[],gr_i);
return new BasicBlock(this.x);
}