From 0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 18 Jun 2018 17:08:56 +0530 Subject: change order of functions --- js/Linear/GAIN_f.js | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'js/Linear/GAIN_f.js') 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() { -} } -- cgit