summaryrefslogtreecommitdiff
path: root/js/Electrical/MOTOR.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/MOTOR.js')
-rw-r--r--js/Electrical/MOTOR.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/Electrical/MOTOR.js b/js/Electrical/MOTOR.js
index e681218e..b9dc349b 100644
--- a/js/Electrical/MOTOR.js
+++ b/js/Electrical/MOTOR.js
@@ -18,9 +18,7 @@ function MOTOR() {
return this.x;
}
MOTOR.prototype.get = function MOTOR() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MOTOR.prototype.set = function MOTOR() {
return new BasicBlock(this.x);