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