summaryrefslogtreecommitdiff
path: root/js/Sources/RAMP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/RAMP.js')
-rw-r--r--js/Sources/RAMP.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js
index ead3978c..0e5bc370 100644
--- a/js/Sources/RAMP.js
+++ b/js/Sources/RAMP.js
@@ -1,5 +1,25 @@
/* autogenerated from "macros/Sources/RAMP.sci" */
function RAMP() {
+RAMP.prototype.define = function RAMP() {
+slope=0;
+iout=0;
+stt=0;
+rpar=[slope,stt,iout];
+model=scicos_model();
+model.sim=list("ramp",4);
+model.in1=[];
+model.out=1;
+model.rpar=rpar;
+model.blocktype="c";
+model.nmode=1;
+model.nzcross=1;
+model.dep_ut=[false,true];
+exprs=[string(rpar)];
+gr_i=[];
+x=standard_define([2,2],model,exprs,gr_i);
+}
+RAMP.prototype.details = function RAMP() {
+}
RAMP.prototype.get = function RAMP() {
}
RAMP.prototype.set = function RAMP() {
@@ -23,24 +43,4 @@ break
}
}
}
-RAMP.prototype.define = function RAMP() {
-slope=0;
-iout=0;
-stt=0;
-rpar=[slope,stt,iout];
-model=scicos_model();
-model.sim=list("ramp",4);
-model.in1=[];
-model.out=1;
-model.rpar=rpar;
-model.blocktype="c";
-model.nmode=1;
-model.nzcross=1;
-model.dep_ut=[false,true];
-exprs=[string(rpar)];
-gr_i=[];
-x=standard_define([2,2],model,exprs,gr_i);
-}
-RAMP.prototype.details = function RAMP() {
-}
}