summaryrefslogtreecommitdiff
path: root/js/Sinks/AFFICH_m.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-18 17:08:56 +0530
committerSunil Shetye2018-06-18 17:08:56 +0530
commit0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (patch)
tree6ae63f7633d80f9a70be43ebe789eb0c3a3ec364 /js/Sinks/AFFICH_m.js
parent8e6e9558ba4963ea71b7a6efc11e0b44e7c9040a (diff)
downloadsci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.gz
sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.bz2
sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.zip
change order of functions
Diffstat (limited to 'js/Sinks/AFFICH_m.js')
-rw-r--r--js/Sinks/AFFICH_m.js48
1 files changed, 24 insertions, 24 deletions
diff --git a/js/Sinks/AFFICH_m.js b/js/Sinks/AFFICH_m.js
index 972f2c4e..291891f9 100644
--- a/js/Sinks/AFFICH_m.js
+++ b/js/Sinks/AFFICH_m.js
@@ -1,5 +1,29 @@
/* autogenerated from "macros/Sinks/AFFICH_m.sci" */
function AFFICH_m() {
+AFFICH_m.prototype.define = function AFFICH_m() {
+font=1;
+fontsize=1;
+colr=1;
+nt=5;
+nd=1;
+in1=[1,1];
+model=scicos_model();
+model.sim=list("affich2",4);
+model.in1=in1(1,1);
+model.in2=in1(1,2);
+model.evtin=1;
+model.dstate=[-1,0,0,1,1,0,zeros(in1(1,1)*in1(1,2),1)];
+model.ipar=[font,fontsize,colr,1000,nt,nd,in1(1,1)];
+model.blocktype="c";
+model.firing=[];
+model.dep_ut=[true,false];
+model.label="";
+exprs=[sci2exp([model.in1,model.in2]),string(font),string(fontsize),string(colr),string(nt),string(nd),string(0)];
+gr_i=[];
+x=standard_define([3,2],model,exprs,gr_i);
+}
+AFFICH_m.prototype.details = function AFFICH_m() {
+}
AFFICH_m.prototype.get = function AFFICH_m() {
}
AFFICH_m.prototype.set = function AFFICH_m() {
@@ -53,28 +77,4 @@ break
}
}
}
-AFFICH_m.prototype.define = function AFFICH_m() {
-font=1;
-fontsize=1;
-colr=1;
-nt=5;
-nd=1;
-in1=[1,1];
-model=scicos_model();
-model.sim=list("affich2",4);
-model.in1=in1(1,1);
-model.in2=in1(1,2);
-model.evtin=1;
-model.dstate=[-1,0,0,1,1,0,zeros(in1(1,1)*in1(1,2),1)];
-model.ipar=[font,fontsize,colr,1000,nt,nd,in1(1,1)];
-model.blocktype="c";
-model.firing=[];
-model.dep_ut=[true,false];
-model.label="";
-exprs=[sci2exp([model.in1,model.in2]),string(font),string(fontsize),string(colr),string(nt),string(nd),string(0)];
-gr_i=[];
-x=standard_define([3,2],model,exprs,gr_i);
-}
-AFFICH_m.prototype.details = function AFFICH_m() {
-}
}