summaryrefslogtreecommitdiff
path: root/js/Sources/CONST.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/CONST.js')
-rw-r--r--js/Sources/CONST.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js
index a3a51cb3..69c4d6e7 100644
--- a/js/Sources/CONST.js
+++ b/js/Sources/CONST.js
@@ -18,7 +18,10 @@ function CONST() {
return this.x;
}
CONST.prototype.get = function CONST() {
- alert("parameters cannot be modified");
+ var options = {
+ C:["Constant",this.C],
+ }
+ return options;
}
CONST.prototype.set = function CONST() {
this.exprs = this.graphics.exprs;