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/Counter.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/Counter.js')
-rw-r--r-- | js/Sources/Counter.js | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/js/Sources/Counter.js b/js/Sources/Counter.js index d43b02cf..54e908e2 100644 --- a/js/Sources/Counter.js +++ b/js/Sources/Counter.js @@ -1,5 +1,24 @@ /* autogenerated from "macros/Sources/Counter.sci" */ function Counter() { +Counter.prototype.define = function Counter() { +minim=0; +maxim=2; +rule=1; +model=scicos_model(); +model.sim=list("counter",4); +model.evtin=1; +model.out=1; +model.out2=1; +model.dstate=0; +model.ipar=[rule,maxim,minim]; +model.blocktype="c"; +model.dep_ut=[false,false]; +exprs=[string(minim),string(maxim),string(rule)]; +gr_i=[]; +x=standard_define([3,2],model,exprs,gr_i); +} +Counter.prototype.details = function Counter() { +} Counter.prototype.get = function Counter() { } Counter.prototype.set = function Counter() { @@ -28,23 +47,4 @@ break } } } -Counter.prototype.define = function Counter() { -minim=0; -maxim=2; -rule=1; -model=scicos_model(); -model.sim=list("counter",4); -model.evtin=1; -model.out=1; -model.out2=1; -model.dstate=0; -model.ipar=[rule,maxim,minim]; -model.blocktype="c"; -model.dep_ut=[false,false]; -exprs=[string(minim),string(maxim),string(rule)]; -gr_i=[]; -x=standard_define([3,2],model,exprs,gr_i); -} -Counter.prototype.details = function Counter() { -} } |