summaryrefslogtreecommitdiff
path: root/js/Sources/PULSE_SC.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/PULSE_SC.js')
-rw-r--r--js/Sources/PULSE_SC.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js
index 12f227e4..0f216f21 100644
--- a/js/Sources/PULSE_SC.js
+++ b/js/Sources/PULSE_SC.js
@@ -49,7 +49,7 @@ x=standard_define([3,2],model,exprs,gr_i);
PULSE_SC.prototype.get = function PULSE_SC() {
}
PULSE_SC.prototype.set = function PULSE_SC() {
-y=needcompile;
+y=this.needcompile;
arg1.model.ipar=1;
typ=list();
graphics=arg1.graphics;
@@ -72,7 +72,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;