diff options
Diffstat (limited to 'js/Linear')
-rw-r--r-- | js/Linear/BIGSOM_f.js | 4 | ||||
-rw-r--r-- | js/Linear/CLINDUMMY_f.js | 4 | ||||
-rw-r--r-- | js/Linear/DERIV.js | 4 | ||||
-rw-r--r-- | js/Linear/INTEGRAL_f.js | 4 | ||||
-rw-r--r-- | js/Linear/REGISTER_f.js | 4 | ||||
-rw-r--r-- | js/Linear/SAMPHOLD.js | 4 | ||||
-rw-r--r-- | js/Linear/SAMPLEHOLD_f.js | 4 | ||||
-rw-r--r-- | js/Linear/SOM_f.js | 4 | ||||
-rw-r--r-- | js/Linear/SUM_f.js | 4 |
9 files changed, 9 insertions, 27 deletions
diff --git a/js/Linear/BIGSOM_f.js b/js/Linear/BIGSOM_f.js index eddff7f0..b7a4013b 100644 --- a/js/Linear/BIGSOM_f.js +++ b/js/Linear/BIGSOM_f.js @@ -18,9 +18,7 @@ function BIGSOM_f() { return this.x; } BIGSOM_f.prototype.get = function BIGSOM_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } BIGSOM_f.prototype.set = function BIGSOM_f() { this.exprs = this.graphics.exprs; diff --git a/js/Linear/CLINDUMMY_f.js b/js/Linear/CLINDUMMY_f.js index 648c9aec..a635e859 100644 --- a/js/Linear/CLINDUMMY_f.js +++ b/js/Linear/CLINDUMMY_f.js @@ -16,9 +16,7 @@ function CLINDUMMY_f() { return this.x; } CLINDUMMY_f.prototype.get = function CLINDUMMY_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } CLINDUMMY_f.prototype.set = function CLINDUMMY_f() { return new BasicBlock(this.x); diff --git a/js/Linear/DERIV.js b/js/Linear/DERIV.js index 8d2599b3..45b2345e 100644 --- a/js/Linear/DERIV.js +++ b/js/Linear/DERIV.js @@ -16,9 +16,7 @@ function DERIV() { return this.x; } DERIV.prototype.get = function DERIV() { - var options = { - } - return options; + alert("parameters cannot be modified"); } DERIV.prototype.set = function DERIV() { return new BasicBlock(this.x); diff --git a/js/Linear/INTEGRAL_f.js b/js/Linear/INTEGRAL_f.js index 46bc238b..a6383035 100644 --- a/js/Linear/INTEGRAL_f.js +++ b/js/Linear/INTEGRAL_f.js @@ -18,9 +18,7 @@ function INTEGRAL_f() { return this.x; } INTEGRAL_f.prototype.get = function INTEGRAL_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } INTEGRAL_f.prototype.set = function INTEGRAL_f() { this.exprs = this.graphics.exprs; diff --git a/js/Linear/REGISTER_f.js b/js/Linear/REGISTER_f.js index 86c7e1ef..bf399bc7 100644 --- a/js/Linear/REGISTER_f.js +++ b/js/Linear/REGISTER_f.js @@ -19,9 +19,7 @@ function REGISTER_f() { return this.x; } REGISTER_f.prototype.get = function REGISTER_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } REGISTER_f.prototype.set = function REGISTER_f() { this.exprs = this.graphics.exprs; diff --git a/js/Linear/SAMPHOLD.js b/js/Linear/SAMPHOLD.js index 819763e1..2ff6cc6c 100644 --- a/js/Linear/SAMPHOLD.js +++ b/js/Linear/SAMPHOLD.js @@ -17,9 +17,7 @@ function SAMPHOLD() { return this.x; } SAMPHOLD.prototype.get = function SAMPHOLD() { - var options = { - } - return options; + alert("parameters cannot be modified"); } SAMPHOLD.prototype.set = function SAMPHOLD() { this.x.model.firing = []; diff --git a/js/Linear/SAMPLEHOLD_f.js b/js/Linear/SAMPLEHOLD_f.js index fb9efb53..fd1676da 100644 --- a/js/Linear/SAMPLEHOLD_f.js +++ b/js/Linear/SAMPLEHOLD_f.js @@ -17,9 +17,7 @@ function SAMPLEHOLD_f() { return this.x; } SAMPLEHOLD_f.prototype.get = function SAMPLEHOLD_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } SAMPLEHOLD_f.prototype.set = function SAMPLEHOLD_f() { this.x.model.firing = []; diff --git a/js/Linear/SOM_f.js b/js/Linear/SOM_f.js index b01c8bf5..d7560f45 100644 --- a/js/Linear/SOM_f.js +++ b/js/Linear/SOM_f.js @@ -18,9 +18,7 @@ function SOM_f() { return this.x; } SOM_f.prototype.get = function SOM_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } SOM_f.prototype.set = function SOM_f() { this.exprs = this.graphics.exprs; diff --git a/js/Linear/SUM_f.js b/js/Linear/SUM_f.js index e4bb2f8a..a4c1c57a 100644 --- a/js/Linear/SUM_f.js +++ b/js/Linear/SUM_f.js @@ -16,9 +16,7 @@ function SUM_f() { return this.x; } SUM_f.prototype.get = function SUM_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } SUM_f.prototype.set = function SUM_f() { return new BasicBlock(this.x); |