diff options
author | Sunil Shetye | 2018-07-17 12:01:51 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-18 11:36:15 +0530 |
commit | 0b627cfc50bb740a3a3f110285253e4f404e012f (patch) | |
tree | ad0f68f5fe8aac76706b72487b938c74f771b8d7 /js/Events/MCLOCK_f.js | |
parent | 8ce53461fe09f5102deeaedbb87bfc0d4f996ed2 (diff) | |
download | sci2js-0b627cfc50bb740a3a3f110285253e4f404e012f.tar.gz sci2js-0b627cfc50bb740a3a3f110285253e4f404e012f.tar.bz2 sci2js-0b627cfc50bb740a3a3f110285253e4f404e012f.zip |
handle case when there are no options
Diffstat (limited to 'js/Events/MCLOCK_f.js')
-rw-r--r-- | js/Events/MCLOCK_f.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/Events/MCLOCK_f.js b/js/Events/MCLOCK_f.js index 14fed50b..cdc40601 100644 --- a/js/Events/MCLOCK_f.js +++ b/js/Events/MCLOCK_f.js @@ -73,9 +73,7 @@ function MCLOCK_f() { return this.x; } MCLOCK_f.prototype.get = function MCLOCK_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } MCLOCK_f.prototype.set = function MCLOCK_f() { if (typeof(o)=="Block"&&o.gui=="MFCLCK_f") { |