summaryrefslogtreecommitdiff
path: root/js/Sources/GEN_SQR.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/GEN_SQR.js')
-rw-r--r--js/Sources/GEN_SQR.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js
index 040f40c4..e9884602 100644
--- a/js/Sources/GEN_SQR.js
+++ b/js/Sources/GEN_SQR.js
@@ -54,7 +54,7 @@ x=standard_define([3,2],model,exprs,gr_i);
GEN_SQR.prototype.get = function GEN_SQR() {
}
GEN_SQR.prototype.set = function GEN_SQR() {
-y=needcompile;
+y=this.needcompile;
arg1.model.ipar=1;
typ=list();
graphics=arg1.graphics;
@@ -77,7 +77,7 @@ sblock=x.model.rpar;
if (ierr==0) {
[sblock,%w,needcompile2,ok]=do_eval(sblock,list());
if (ok) {
-y=max(2,needcompile,needcompile2);
+y=max(2,this.needcompile,needcompile2);
x.graphics.exprs=exprs;
x.model.rpar=sblock;
break;