summaryrefslogtreecommitdiff
path: root/js/Misc/PAL_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/PAL_f.js')
-rw-r--r--js/Misc/PAL_f.js14
1 files changed, 9 insertions, 5 deletions
diff --git a/js/Misc/PAL_f.js b/js/Misc/PAL_f.js
index c06c86e8..7b64b6c3 100644
--- a/js/Misc/PAL_f.js
+++ b/js/Misc/PAL_f.js
@@ -1,7 +1,7 @@
/* autogenerated from "macros/Misc/PAL_f.sci" */
function PAL_f() {
PAL_f.prototype.define = function PAL_f() {
- scs = scicos_diagram();
+ var scs = scicos_diagram();
scs.props.title = "Palette";
this.model = scicos_model();
this.model.sim = new ScilabString(["palette"]);
@@ -10,7 +10,7 @@ function PAL_f() {
this.model.rpar = new ScilabDouble([scs]);
this.model.blocktype = new ScilabString(["h"]);
this.model.dep_ut = [false,false];
- gr_i = [];
+ var gr_i = [];
this.x = standard_define([2,2],this.model,[],gr_i);
this.x.graphics.id = scs.props.title[1-1];
return new BasicBlock(this.x);
@@ -24,12 +24,16 @@ function PAL_f() {
return options;
}
PAL_f.prototype.set = function PAL_f() {
- [this.x,newparameters,needcompile,edited] = scicos(arg1.model.rpar);
+ var tmpvar0 = scicos(arg1.model.rpar)
+ this.x = tmpvar0[0]
+ var newparameters = tmpvar0[1]
+ var needcompile = tmpvar0[2]
+ var edited = tmpvar0[3];
arg1.graphics.id = this.x.props.title[1-1];
arg1.model.rpar = this.x;
this.x = arg1;
- y = [];
- typ = [];
+ var y = [];
+ var typ = [];
%exit = resume(false)
return new BasicBlock(this.x);
}