summaryrefslogtreecommitdiff
path: root/js/Misc/PAL_f.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-25 18:20:39 +0530
committerSunil Shetye2018-06-26 11:06:22 +0530
commit7465daea85285ba7f291b6bf6ddc45caa9e7ad65 (patch)
treee8e3e4dd60d469c290d55de15644ddbc1e013bc6 /js/Misc/PAL_f.js
parent7c70459c10aed0d74ee03896abaf47fefdbf7c8f (diff)
downloadsci2js-7465daea85285ba7f291b6bf6ddc45caa9e7ad65.tar.gz
sci2js-7465daea85285ba7f291b6bf6ddc45caa9e7ad65.tar.bz2
sci2js-7465daea85285ba7f291b6bf6ddc45caa9e7ad65.zip
add spacing to end of block also
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)
}
}