summaryrefslogtreecommitdiff
path: root/js/Branching/SELF_SWITCH.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/SELF_SWITCH.js')
-rw-r--r--js/Branching/SELF_SWITCH.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/Branching/SELF_SWITCH.js b/js/Branching/SELF_SWITCH.js
index ff749abe..0fb28e7d 100644
--- a/js/Branching/SELF_SWITCH.js
+++ b/js/Branching/SELF_SWITCH.js
@@ -26,9 +26,7 @@ function SELF_SWITCH() {
return this.x;
}
SELF_SWITCH.prototype.get = function SELF_SWITCH() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SELF_SWITCH.prototype.set = function SELF_SWITCH() {
this.stateOpen = this.x.model.opar[1-1];