summaryrefslogtreecommitdiff
path: root/js/Sources/PULSE_SC.js
diff options
context:
space:
mode:
authorSunil Shetye2018-08-24 15:25:09 +0530
committerSunil Shetye2018-08-27 16:43:40 +0530
commit249d7545a79bcc66003a80ca393994feb40c5f34 (patch)
tree4d68ae3b1db670247e6ba4c448d750213a1150d4 /js/Sources/PULSE_SC.js
parent54e9da81f331216dd021dd4164db2811f28c6f33 (diff)
downloadsci2js-249d7545a79bcc66003a80ca393994feb40c5f34.tar.gz
sci2js-249d7545a79bcc66003a80ca393994feb40c5f34.tar.bz2
sci2js-249d7545a79bcc66003a80ca393994feb40c5f34.zip
expand the title variable
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 829a03c4..18cf7949 100644
--- a/js/Sources/PULSE_SC.js
+++ b/js/Sources/PULSE_SC.js
@@ -61,7 +61,7 @@ function PULSE_SC() {
var y = this.needcompile;
var typ = list();
var exprs = this.graphics.exprs;
- var Btitre = "Set Pulse Generator parameters";
+ this.Btitre = "Set Pulse Generator parameters";
var Exprs0 = [["E"],["W"],["F"],["A"]];
this.Bitems = [["Phase delay (secs):"],["Pulse Width (% of period):"],["Period (secs):"],["Amplitude:"]];
var Ss = list("pol",-1,"pol",-1,"pol",-1,"mat",[-1,-1]);
@@ -103,7 +103,7 @@ function PULSE_SC() {
return new BasicBlock(this.x);
}
PULSE_SC.prototype.get_popup_title = function PULSE_SC() {
- var set_param_popup_title = Btitre;
+ var set_param_popup_title = "Set Pulse Generator parameters";
return set_param_popup_title;
}
}