summaryrefslogtreecommitdiff
path: root/js/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc')
-rw-r--r--js/Misc/PAL_f.js31
1 files changed, 29 insertions, 2 deletions
diff --git a/js/Misc/PAL_f.js b/js/Misc/PAL_f.js
index 21ebba14..f27f6e8d 100644
--- a/js/Misc/PAL_f.js
+++ b/js/Misc/PAL_f.js
@@ -1,3 +1,30 @@
-Syntax error in input LexToken(SCICOS,'scicos',1,1009)
/* autogenerated from "macros/Misc/PAL_f.sci" */
-None
+function PAL_f() {
+PAL_f.prototype.define = function PAL_f() {
+scs=scicos_diagram();
+scs.props.title="Palette";
+model=scicos_model();
+model.sim="palette";
+model.in1=[];
+model.out=[];
+model.rpar=scs;
+model.blocktype="h";
+model.dep_ut=[false,false];
+gr_i=[];
+x=standard_define([2,2],model,[],gr_i);
+x.graphics.id=scs.props.title(1);
+}
+PAL_f.prototype.details = function PAL_f() {
+}
+PAL_f.prototype.get = function PAL_f() {
+}
+PAL_f.prototype.set = function PAL_f() {
+[x,newparameters,needcompile,edited]=scicos(arg1.model.rpar);
+arg1.graphics.id=x.props.title(1);
+arg1.model.rpar=x;
+x=arg1;
+y=[];
+typ=[];
+%exit=resume(false)
+}
+}