diff options
author | Sunil Shetye | 2018-06-18 17:08:56 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-18 17:08:56 +0530 |
commit | 0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (patch) | |
tree | 6ae63f7633d80f9a70be43ebe789eb0c3a3ec364 /js/Sources/STEP.js | |
parent | 8e6e9558ba4963ea71b7a6efc11e0b44e7c9040a (diff) | |
download | sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.gz sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.bz2 sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.zip |
change order of functions
Diffstat (limited to 'js/Sources/STEP.js')
-rw-r--r-- | js/Sources/STEP.js | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/js/Sources/STEP.js b/js/Sources/STEP.js index 0841a09d..c3c6533d 100644 --- a/js/Sources/STEP.js +++ b/js/Sources/STEP.js @@ -1,5 +1,24 @@ /* autogenerated from "macros/Sources/STEP.sci" */ function STEP() { +STEP.prototype.define = function STEP() { +rpar=[0,1]; +model=scicos_model(); +model.sim=list("step_func",4); +model.evtin=1; +model.evtout=1; +model.out=1; +model.out2=1; +model.outtyp=1; +model.firing=1; +model.rpar=rpar; +model.blocktype="c"; +model.dep_ut=[false,false]; +exprs=[string(1),string(rpar)]; +gr_i=[]; +x=standard_define([2,2],model,exprs,gr_i); +} +STEP.prototype.details = function STEP() { +} STEP.prototype.get = function STEP() { } STEP.prototype.set = function STEP() { @@ -44,23 +63,4 @@ break } } } -STEP.prototype.define = function STEP() { -rpar=[0,1]; -model=scicos_model(); -model.sim=list("step_func",4); -model.evtin=1; -model.evtout=1; -model.out=1; -model.out2=1; -model.outtyp=1; -model.firing=1; -model.rpar=rpar; -model.blocktype="c"; -model.dep_ut=[false,false]; -exprs=[string(1),string(rpar)]; -gr_i=[]; -x=standard_define([2,2],model,exprs,gr_i); -} -STEP.prototype.details = function STEP() { -} } |