summaryrefslogtreecommitdiff
path: root/js/NonLinear
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/NonLinear
parent54e9da81f331216dd021dd4164db2811f28c6f33 (diff)
downloadsci2js-249d7545a79bcc66003a80ca393994feb40c5f34.tar.gz
sci2js-249d7545a79bcc66003a80ca393994feb40c5f34.tar.bz2
sci2js-249d7545a79bcc66003a80ca393994feb40c5f34.zip
expand the title variable
Diffstat (limited to 'js/NonLinear')
-rw-r--r--js/NonLinear/TrigFun.js4
-rw-r--r--js/NonLinear/TrigFun.pickle8
2 files changed, 7 insertions, 5 deletions
diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js
index e9f7f34c..1c4906ed 100644
--- a/js/NonLinear/TrigFun.js
+++ b/js/NonLinear/TrigFun.js
@@ -24,7 +24,7 @@ function TrigFun() {
TrigFun.prototype.set = function TrigFun() {
var exprs = this.graphics.exprs;
var PREVAR_FF = [["sin"],["cos"],["tan"],["asin"],["acos"],["atan"],["sinh"],["cosh"],["tanh"],["asinh"],["acosh"],["atanh"]];
- var PREVAR_GG = [["Choose among "+strcat(PREVAR_FF.slice(1-1,4),", ")],[strcat(PREVAR_FF.slice(5-1,$),", ")]];
+ this.PREVAR_GG = [["Choose among "+strcat(PREVAR_FF.slice(1-1,4),", ")],[strcat(PREVAR_FF.slice(5-1,$),", ")]];
while (true) {
var ok = true;
this.fun = arguments[0]["fun"];
@@ -45,7 +45,7 @@ function TrigFun() {
return new BasicBlock(this.x);
}
TrigFun.prototype.get_popup_title = function TrigFun() {
- var set_param_popup_title = PREVAR_GG;
+ var set_param_popup_title = "Choose among "+strcat(PREVAR_FF.slice(1-1,4),", ");
return set_param_popup_title;
}
}
diff --git a/js/NonLinear/TrigFun.pickle b/js/NonLinear/TrigFun.pickle
index 9170d382..c01059dc 100644
--- a/js/NonLinear/TrigFun.pickle
+++ b/js/NonLinear/TrigFun.pickle
@@ -8,10 +8,12 @@ aS'x'
p3
aS'model'
p4
-aS'graphics'
+aS'PREVAR_GG'
p5
-atp6
-Rp7
+aS'graphics'
+p6
+atp7
+Rp8
.(dp0
S'model.sim'
p1