diff options
Diffstat (limited to 'js/Sources')
-rw-r--r-- | js/Sources/CLKINV_f.js | 5 | ||||
-rw-r--r-- | js/Sources/CLKIN_f.js | 5 | ||||
-rw-r--r-- | js/Sources/CONST.js | 5 | ||||
-rw-r--r-- | js/Sources/CONST_f.js | 5 | ||||
-rw-r--r-- | js/Sources/CONST_m.js | 5 | ||||
-rw-r--r-- | js/Sources/GEN_SQR.js | 5 | ||||
-rw-r--r-- | js/Sources/INIMPL_f.js | 5 | ||||
-rw-r--r-- | js/Sources/PULSE_SC.js | 5 |
8 files changed, 32 insertions, 8 deletions
diff --git a/js/Sources/CLKINV_f.js b/js/Sources/CLKINV_f.js index 90e61431..622fd0e7 100644 --- a/js/Sources/CLKINV_f.js +++ b/js/Sources/CLKINV_f.js @@ -18,7 +18,10 @@ function CLKINV_f() { return this.x; } CLKINV_f.prototype.get = function CLKINV_f() { - alert("parameters cannot be modified"); + var options = { + prt:["Port Number",this.prt], + } + return options; } CLKINV_f.prototype.set = function CLKINV_f() { this.exprs = this.graphics.exprs; diff --git a/js/Sources/CLKIN_f.js b/js/Sources/CLKIN_f.js index cb550389..7c23fc38 100644 --- a/js/Sources/CLKIN_f.js +++ b/js/Sources/CLKIN_f.js @@ -17,7 +17,10 @@ function CLKIN_f() { return this.x; } CLKIN_f.prototype.get = function CLKIN_f() { - alert("parameters cannot be modified"); + var options = { + prt:["Port number",this.prt], + } + return options; } CLKIN_f.prototype.set = function CLKIN_f() { this.exprs = this.graphics.exprs; diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js index a3a51cb3..69c4d6e7 100644 --- a/js/Sources/CONST.js +++ b/js/Sources/CONST.js @@ -18,7 +18,10 @@ function CONST() { return this.x; } CONST.prototype.get = function CONST() { - alert("parameters cannot be modified"); + var options = { + C:["Constant",this.C], + } + return options; } CONST.prototype.set = function CONST() { this.exprs = this.graphics.exprs; diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js index fcd527ac..993cb024 100644 --- a/js/Sources/CONST_f.js +++ b/js/Sources/CONST_f.js @@ -18,7 +18,10 @@ function CONST_f() { return this.x; } CONST_f.prototype.get = function CONST_f() { - alert("parameters cannot be modified"); + var options = { + C:["Constant",this.C], + } + return options; } CONST_f.prototype.set = function CONST_f() { this.exprs = this.graphics.exprs; diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js index 7cc3cd7f..23772a0a 100644 --- a/js/Sources/CONST_m.js +++ b/js/Sources/CONST_m.js @@ -21,7 +21,10 @@ function CONST_m() { return this.x; } CONST_m.prototype.get = function CONST_m() { - alert("parameters cannot be modified"); + var options = { + C:["Constant Value",this.C], + } + return options; } CONST_m.prototype.set = function CONST_m() { this.exprs = this.graphics.exprs; diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js index 3b9df67b..ff2f90ef 100644 --- a/js/Sources/GEN_SQR.js +++ b/js/Sources/GEN_SQR.js @@ -54,7 +54,10 @@ function GEN_SQR() { return this.x; } GEN_SQR.prototype.get = function GEN_SQR() { - alert("parameters cannot be modified"); + var options = { + scicos_context.Amin:[Bitems,scicos_context.Amin], + } + return options; } GEN_SQR.prototype.set = function GEN_SQR() { var y = this.needcompile; diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js index 4fc56a38..af1d8973 100644 --- a/js/Sources/INIMPL_f.js +++ b/js/Sources/INIMPL_f.js @@ -23,7 +23,10 @@ function INIMPL_f() { return this.x; } INIMPL_f.prototype.get = function INIMPL_f() { - alert("parameters cannot be modified"); + var options = { + prt:["Port Number",this.prt], + } + return options; } INIMPL_f.prototype.set = function INIMPL_f() { this.exprs = this.graphics.exprs; diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js index e6976819..2ad17f19 100644 --- a/js/Sources/PULSE_SC.js +++ b/js/Sources/PULSE_SC.js @@ -49,7 +49,10 @@ function PULSE_SC() { return this.x; } PULSE_SC.prototype.get = function PULSE_SC() { - alert("parameters cannot be modified"); + var options = { + scicos_context.E:[Bitems,scicos_context.E], + } + return options; } PULSE_SC.prototype.set = function PULSE_SC() { var y = this.needcompile; |