summaryrefslogtreecommitdiff
path: root/js/Branching
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching')
-rw-r--r--js/Branching/CLKFROM.js4
-rw-r--r--js/Branching/MUX.js4
-rw-r--r--js/Branching/MUX_f.js4
-rw-r--r--js/Branching/SELF_SWITCH.js4
4 files changed, 4 insertions, 12 deletions
diff --git a/js/Branching/CLKFROM.js b/js/Branching/CLKFROM.js
index 32c55b6c..45b78966 100644
--- a/js/Branching/CLKFROM.js
+++ b/js/Branching/CLKFROM.js
@@ -17,9 +17,7 @@ function CLKFROM() {
return this.x;
}
CLKFROM.prototype.get = function CLKFROM() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKFROM.prototype.set = function CLKFROM() {
this.exprs = this.graphics.exprs;
diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js
index 2c672a94..d6707e7b 100644
--- a/js/Branching/MUX.js
+++ b/js/Branching/MUX.js
@@ -18,9 +18,7 @@ function MUX() {
return this.x;
}
MUX.prototype.get = function MUX() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MUX.prototype.set = function MUX() {
this.exprs = this.graphics.exprs;
diff --git a/js/Branching/MUX_f.js b/js/Branching/MUX_f.js
index 0ef2fc8f..0e9a2f0e 100644
--- a/js/Branching/MUX_f.js
+++ b/js/Branching/MUX_f.js
@@ -18,9 +18,7 @@ function MUX_f() {
return this.x;
}
MUX_f.prototype.get = function MUX_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MUX_f.prototype.set = function MUX_f() {
this.exprs = this.graphics.exprs;
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];