summaryrefslogtreecommitdiff
path: root/js/Sinks/CSCOPXY.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-18 17:08:56 +0530
committerSunil Shetye2018-06-18 17:08:56 +0530
commit0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (patch)
tree6ae63f7633d80f9a70be43ebe789eb0c3a3ec364 /js/Sinks/CSCOPXY.js
parent8e6e9558ba4963ea71b7a6efc11e0b44e7c9040a (diff)
downloadsci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.gz
sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.bz2
sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.zip
change order of functions
Diffstat (limited to 'js/Sinks/CSCOPXY.js')
-rw-r--r--js/Sinks/CSCOPXY.js56
1 files changed, 28 insertions, 28 deletions
diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js
index ecf168b9..0771bbcf 100644
--- a/js/Sinks/CSCOPXY.js
+++ b/js/Sinks/CSCOPXY.js
@@ -1,5 +1,33 @@
/* autogenerated from "macros/Sinks/CSCOPXY.sci" */
function CSCOPXY() {
+CSCOPXY.prototype.define = function CSCOPXY() {
+win=-1;
+clrs=4;
+siz=1;
+wdim=[600,400];
+wpos=[-1,-1];
+N=2;
+xmin=-15;
+xmax=15;
+ymin=-15;
+ymax=+15;
+nbr_curves=1;
+model=scicos_model();
+model.sim=list("cscopxy",4);
+model.in1=[1,1];
+model.in2=[1,1];
+model.intyp=[1,1];
+model.evtin=1;
+model.rpar=[xmin,xmax,ymin,ymax];
+model.ipar=[win,1,N,clrs,siz,1,wpos.slice(),wdim.slice(),nbr_curves];
+model.blocktype="d";
+model.dep_ut=[false,false];
+exprs=[string(nbr_curves),sci2exp(clrs),sci2exp(siz),string(win),sci2exp([]),sci2exp(wdim),string(xmin),string(xmax),string(ymin),string(ymax),string(N)];
+gr_i=[];
+x=standard_define([2,2],model,exprs,gr_i);
+}
+CSCOPXY.prototype.details = function CSCOPXY() {
+}
CSCOPXY.prototype.get = function CSCOPXY() {
}
CSCOPXY.prototype.set = function CSCOPXY() {
@@ -68,32 +96,4 @@ break
}
}
}
-CSCOPXY.prototype.define = function CSCOPXY() {
-win=-1;
-clrs=4;
-siz=1;
-wdim=[600,400];
-wpos=[-1,-1];
-N=2;
-xmin=-15;
-xmax=15;
-ymin=-15;
-ymax=+15;
-nbr_curves=1;
-model=scicos_model();
-model.sim=list("cscopxy",4);
-model.in1=[1,1];
-model.in2=[1,1];
-model.intyp=[1,1];
-model.evtin=1;
-model.rpar=[xmin,xmax,ymin,ymax];
-model.ipar=[win,1,N,clrs,siz,1,wpos.slice(),wdim.slice(),nbr_curves];
-model.blocktype="d";
-model.dep_ut=[false,false];
-exprs=[string(nbr_curves),sci2exp(clrs),sci2exp(siz),string(win),sci2exp([]),sci2exp(wdim),string(xmin),string(xmax),string(ymin),string(ymax),string(N)];
-gr_i=[];
-x=standard_define([2,2],model,exprs,gr_i);
-}
-CSCOPXY.prototype.details = function CSCOPXY() {
-}
}