summaryrefslogtreecommitdiff
path: root/js/Sources/CONST_m.js
diff options
context:
space:
mode:
authorSunil Shetye2018-08-22 21:18:08 +0530
committerSunil Shetye2018-08-24 10:42:26 +0530
commitb560ce4b4abb5450dce9a06a7bcddde3b96c1e2c (patch)
treedafb1774870089a6754d5b1190c45c37b4a036d6 /js/Sources/CONST_m.js
parentf5bdd141a4fd73a98e98523fb6531d48ed5d9904 (diff)
downloadsci2js-b560ce4b4abb5450dce9a06a7bcddde3b96c1e2c.tar.gz
sci2js-b560ce4b4abb5450dce9a06a7bcddde3b96c1e2c.tar.bz2
sci2js-b560ce4b4abb5450dce9a06a7bcddde3b96c1e2c.zip
support single option blocks
Diffstat (limited to 'js/Sources/CONST_m.js')
-rw-r--r--js/Sources/CONST_m.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js
index 7cc3cd7f..23772a0a 100644
--- a/js/Sources/CONST_m.js
+++ b/js/Sources/CONST_m.js
@@ -21,7 +21,10 @@ function CONST_m() {
return this.x;
}
CONST_m.prototype.get = function CONST_m() {
- alert("parameters cannot be modified");
+ var options = {
+ C:["Constant Value",this.C],
+ }
+ return options;
}
CONST_m.prototype.set = function CONST_m() {
this.exprs = this.graphics.exprs;