summaryrefslogtreecommitdiff
path: root/js/Sinks/CSCOPE.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sinks/CSCOPE.js')
-rw-r--r--js/Sinks/CSCOPE.js48
1 files changed, 24 insertions, 24 deletions
diff --git a/js/Sinks/CSCOPE.js b/js/Sinks/CSCOPE.js
index 3bf3cc03..538a1115 100644
--- a/js/Sinks/CSCOPE.js
+++ b/js/Sinks/CSCOPE.js
@@ -1,5 +1,29 @@
/* autogenerated from "macros/Sinks/CSCOPE.sci" */
function CSCOPE() {
+CSCOPE.prototype.define = function CSCOPE() {
+win=-1;
+wdim=[600,400];
+wpos=[-1,-1];
+clrs=[1,3,5,7,9,11,13,15];
+N=20;
+ymin=-15;
+ymax=+15;
+per=30;
+model=scicos_model();
+model.sim=list("cscope",4);
+model.in1=-1;
+model.in2=1;
+model.evtin=1;
+model.rpar=[0,ymin,ymax,per];
+model.ipar=[win,1,N,clrs,wpos,wdim];
+model.blocktype="c";
+model.dep_ut=[true,false];
+exprs=[strcat(string(clrs)," "),string(win),sci2exp([]),sci2exp(wdim),string(ymin),string(ymax),string(per),string(N),transpose(string(0)),emptystr()];
+gr_i=[];
+x=standard_define([2,2],model,exprs,gr_i);
+}
+CSCOPE.prototype.details = function CSCOPE() {
+}
CSCOPE.prototype.get = function CSCOPE() {
}
CSCOPE.prototype.set = function CSCOPE() {
@@ -68,28 +92,4 @@ break
}
}
}
-CSCOPE.prototype.define = function CSCOPE() {
-win=-1;
-wdim=[600,400];
-wpos=[-1,-1];
-clrs=[1,3,5,7,9,11,13,15];
-N=20;
-ymin=-15;
-ymax=+15;
-per=30;
-model=scicos_model();
-model.sim=list("cscope",4);
-model.in1=-1;
-model.in2=1;
-model.evtin=1;
-model.rpar=[0,ymin,ymax,per];
-model.ipar=[win,1,N,clrs,wpos,wdim];
-model.blocktype="c";
-model.dep_ut=[true,false];
-exprs=[strcat(string(clrs)," "),string(win),sci2exp([]),sci2exp(wdim),string(ymin),string(ymax),string(per),string(N),transpose(string(0)),emptystr()];
-gr_i=[];
-x=standard_define([2,2],model,exprs,gr_i);
-}
-CSCOPE.prototype.details = function CSCOPE() {
-}
}