summaryrefslogtreecommitdiff
path: root/js/Sources/Counter.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/Counter.js')
-rw-r--r--js/Sources/Counter.js38
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() {
-}
}