summaryrefslogtreecommitdiff
path: root/js/Linear/GAIN_f.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/Linear/GAIN_f.js
parent8e6e9558ba4963ea71b7a6efc11e0b44e7c9040a (diff)
downloadsci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.gz
sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.bz2
sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.zip
change order of functions
Diffstat (limited to 'js/Linear/GAIN_f.js')
-rw-r--r--js/Linear/GAIN_f.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/js/Linear/GAIN_f.js b/js/Linear/GAIN_f.js
index 3515345d..f9ccb8d3 100644
--- a/js/Linear/GAIN_f.js
+++ b/js/Linear/GAIN_f.js
@@ -1,5 +1,22 @@
/* autogenerated from "macros/Linear/GAIN_f.sci" */
function GAIN_f() {
+GAIN_f.prototype.define = function GAIN_f() {
+gain=1;
+in1=1;
+out=1;
+model=scicos_model();
+model.sim="gain";
+model.in1=1;
+model.out=1;
+model.rpar=gain;
+model.blocktype="c";
+model.dep_ut=[true,false];
+exprs=[strcat(sci2exp(gain)),strcat(sci2exp(in1)),strcat(sci2exp(out))];
+gr_i=[];
+x=standard_define([2,2],model,exprs,gr_i);
+}
+GAIN_f.prototype.details = function GAIN_f() {
+}
GAIN_f.prototype.get = function GAIN_f() {
}
GAIN_f.prototype.set = function GAIN_f() {
@@ -27,21 +44,4 @@ break
}
}
}
-GAIN_f.prototype.define = function GAIN_f() {
-gain=1;
-in1=1;
-out=1;
-model=scicos_model();
-model.sim="gain";
-model.in1=1;
-model.out=1;
-model.rpar=gain;
-model.blocktype="c";
-model.dep_ut=[true,false];
-exprs=[strcat(sci2exp(gain)),strcat(sci2exp(in1)),strcat(sci2exp(out))];
-gr_i=[];
-x=standard_define([2,2],model,exprs,gr_i);
-}
-GAIN_f.prototype.details = function GAIN_f() {
-}
}