summaryrefslogtreecommitdiff
path: root/js/Sources/CONST.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/CONST.js')
-rw-r--r--js/Sources/CONST.js30
1 files changed, 15 insertions, 15 deletions
diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js
index 91f34189..6bc8ec85 100644
--- a/js/Sources/CONST.js
+++ b/js/Sources/CONST.js
@@ -1,5 +1,20 @@
/* autogenerated from "macros/Sources/CONST.sci" */
function CONST() {
+CONST.prototype.define = function CONST() {
+C=1;
+model=scicos_model();
+model.sim=list("cstblk4",4);
+model.in1=[];
+model.out=1;
+model.rpar=C;
+model.blocktype="d";
+model.dep_ut=[false,false];
+exprs=strcat(sci2exp(C));
+gr_i=[];
+x=standard_define([2,2],model,exprs,gr_i);
+}
+CONST.prototype.details = function CONST() {
+}
CONST.prototype.get = function CONST() {
}
CONST.prototype.set = function CONST() {
@@ -28,19 +43,4 @@ break
}
}
}
-CONST.prototype.define = function CONST() {
-C=1;
-model=scicos_model();
-model.sim=list("cstblk4",4);
-model.in1=[];
-model.out=1;
-model.rpar=C;
-model.blocktype="d";
-model.dep_ut=[false,false];
-exprs=strcat(sci2exp(C));
-gr_i=[];
-x=standard_define([2,2],model,exprs,gr_i);
-}
-CONST.prototype.details = function CONST() {
-}
}