From 0b627cfc50bb740a3a3f110285253e4f404e012f Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Tue, 17 Jul 2018 12:01:51 +0530 Subject: handle case when there are no options --- js/Sources/CONST.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'js/Sources/CONST.js') diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js index 76661388..6dfc718c 100644 --- a/js/Sources/CONST.js +++ b/js/Sources/CONST.js @@ -18,9 +18,7 @@ function CONST() { return this.x; } CONST.prototype.get = function CONST() { - var options = { - } - return options; + alert("parameters cannot be modified"); } CONST.prototype.set = function CONST() { this.exprs = this.graphics.exprs; -- cgit