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.js15
1 files changed, 8 insertions, 7 deletions
diff --git a/js/Misc/PAL_f.js b/js/Misc/PAL_f.js
index 3550fbc4..05c7ef2f 100644
--- a/js/Misc/PAL_f.js
+++ b/js/Misc/PAL_f.js
@@ -11,20 +11,21 @@ function PAL_f() {
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-1];
+ this.x = standard_define([2,2],model,[],gr_i);
+ this.x.graphics.id = scs.props.title[1-1];
}
PAL_f.prototype.details = function PAL_f() {
+ return this.x;
}
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-1];
- arg1.model.rpar = x;
- x = arg1;
+ [this.x,newparameters,needcompile,edited] = scicos(arg1.model.rpar);
+ arg1.graphics.id = this.x.props.title[1-1];
+ arg1.model.rpar = this.x;
+ this.x = arg1;
y = [];
typ = [];
-%exit=resume(false)
+ %exit=resume(false)
}
}