From b560ce4b4abb5450dce9a06a7bcddde3b96c1e2c Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 22 Aug 2018 21:18:08 +0530 Subject: support single option blocks --- js/Sources/CONST_m.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'js/Sources/CONST_m.js') 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; -- cgit