summaryrefslogtreecommitdiff
path: root/js/NonLinear/TrigFun.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/TrigFun.js')
-rw-r--r--js/NonLinear/TrigFun.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js
index c85ddf34..57ef3821 100644
--- a/js/NonLinear/TrigFun.js
+++ b/js/NonLinear/TrigFun.js
@@ -16,6 +16,10 @@ function TrigFun() {
return this.x;
}
TrigFun.prototype.get = function TrigFun() {
+ var exprs = this.graphics.exprs;
+ var PREVAR_FF = [["sin"],["cos"],["tan"],["asin"],["acos"],["atan"],["sinh"],["cosh"],["tanh"],["asinh"],["acosh"],["atanh"]];
+ this.PREVAR_GG = [["Choose among "+strcat(PREVAR_FF.slice(1-1,4),", ")],[strcat(PREVAR_FF.slice(5-1,$),", ")]];
+ this.set_param_popup_title = this.PREVAR_GG;
var options = {
fun:["Function",this.fun],
}
@@ -46,7 +50,6 @@ function TrigFun() {
return new BasicBlock(this.x);
}
TrigFun.prototype.get_popup_title = function TrigFun() {
- var set_param_popup_title = "Choose among "+strcat(PREVAR_FF.slice(1-1,4),", ");
- return set_param_popup_title;
+ return this.set_param_popup_title;
}
}