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.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js
index 776e2309..827ba815 100644
--- a/js/NonLinear/TrigFun.js
+++ b/js/NonLinear/TrigFun.js
@@ -16,7 +16,10 @@ function TrigFun() {
return this.x;
}
TrigFun.prototype.get = function TrigFun() {
- alert("parameters cannot be modified");
+ var options = {
+ fun:["Function",this.fun],
+ }
+ return options;
}
TrigFun.prototype.set = function TrigFun() {
this.exprs = this.graphics.exprs;