diff options
Diffstat (limited to 'js/Events')
-rw-r--r-- | js/Events/ANDBLK.js | 4 | ||||
-rw-r--r-- | js/Events/ANDLOG_f.js | 4 | ||||
-rw-r--r-- | js/Events/CLKSOMV_f.js | 4 | ||||
-rw-r--r-- | js/Events/CLKSOM_f.js | 4 | ||||
-rw-r--r-- | js/Events/CLKSPLIT_f.js | 4 | ||||
-rw-r--r-- | js/Events/EVTVARDLY.js | 4 | ||||
-rw-r--r-- | js/Events/MCLOCK_f.js | 4 | ||||
-rw-r--r-- | js/Events/VirtualCLK0.js | 4 |
8 files changed, 8 insertions, 24 deletions
diff --git a/js/Events/ANDBLK.js b/js/Events/ANDBLK.js index 8a270c17..a81d87d4 100644 --- a/js/Events/ANDBLK.js +++ b/js/Events/ANDBLK.js @@ -71,9 +71,7 @@ function ANDBLK() { return this.x; } ANDBLK.prototype.get = function ANDBLK() { - var options = { - } - return options; + alert("parameters cannot be modified"); } ANDBLK.prototype.set = function ANDBLK() { return new BasicBlock(this.x); diff --git a/js/Events/ANDLOG_f.js b/js/Events/ANDLOG_f.js index 127795ca..b6d6671f 100644 --- a/js/Events/ANDLOG_f.js +++ b/js/Events/ANDLOG_f.js @@ -16,9 +16,7 @@ function ANDLOG_f() { return this.x; } ANDLOG_f.prototype.get = function ANDLOG_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } ANDLOG_f.prototype.set = function ANDLOG_f() { return new BasicBlock(this.x); diff --git a/js/Events/CLKSOMV_f.js b/js/Events/CLKSOMV_f.js index a4c2d797..e6907d4e 100644 --- a/js/Events/CLKSOMV_f.js +++ b/js/Events/CLKSOMV_f.js @@ -16,9 +16,7 @@ function CLKSOMV_f() { return this.x; } CLKSOMV_f.prototype.get = function CLKSOMV_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } CLKSOMV_f.prototype.set = function CLKSOMV_f() { return new BasicBlock(this.x); diff --git a/js/Events/CLKSOM_f.js b/js/Events/CLKSOM_f.js index b0e8c31c..932c979a 100644 --- a/js/Events/CLKSOM_f.js +++ b/js/Events/CLKSOM_f.js @@ -16,9 +16,7 @@ function CLKSOM_f() { return this.x; } CLKSOM_f.prototype.get = function CLKSOM_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } CLKSOM_f.prototype.set = function CLKSOM_f() { return new BasicBlock(this.x); diff --git a/js/Events/CLKSPLIT_f.js b/js/Events/CLKSPLIT_f.js index 6b55e089..1f12def7 100644 --- a/js/Events/CLKSPLIT_f.js +++ b/js/Events/CLKSPLIT_f.js @@ -15,9 +15,7 @@ function CLKSPLIT_f() { return this.x; } CLKSPLIT_f.prototype.get = function CLKSPLIT_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } CLKSPLIT_f.prototype.set = function CLKSPLIT_f() { return new BasicBlock(this.x); diff --git a/js/Events/EVTVARDLY.js b/js/Events/EVTVARDLY.js index 61fbac44..f688d6c9 100644 --- a/js/Events/EVTVARDLY.js +++ b/js/Events/EVTVARDLY.js @@ -19,9 +19,7 @@ function EVTVARDLY() { return this.x; } EVTVARDLY.prototype.get = function EVTVARDLY() { - var options = { - } - return options; + alert("parameters cannot be modified"); } EVTVARDLY.prototype.set = function EVTVARDLY() { this.exprs = this.graphics.exprs; diff --git a/js/Events/MCLOCK_f.js b/js/Events/MCLOCK_f.js index 14fed50b..cdc40601 100644 --- a/js/Events/MCLOCK_f.js +++ b/js/Events/MCLOCK_f.js @@ -73,9 +73,7 @@ function MCLOCK_f() { return this.x; } MCLOCK_f.prototype.get = function MCLOCK_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } MCLOCK_f.prototype.set = function MCLOCK_f() { if (typeof(o)=="Block"&&o.gui=="MFCLCK_f") { diff --git a/js/Events/VirtualCLK0.js b/js/Events/VirtualCLK0.js index dc7c6dad..ea3e7638 100644 --- a/js/Events/VirtualCLK0.js +++ b/js/Events/VirtualCLK0.js @@ -17,9 +17,7 @@ function VirtualCLK0() { return this.x; } VirtualCLK0.prototype.get = function VirtualCLK0() { - var options = { - } - return options; + alert("parameters cannot be modified"); } VirtualCLK0.prototype.set = function VirtualCLK0() { return new BasicBlock(this.x); |