summaryrefslogtreecommitdiff
path: root/js/IntegerOp/BITCLEAR.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/BITCLEAR.js')
-rw-r--r--js/IntegerOp/BITCLEAR.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/IntegerOp/BITCLEAR.js b/js/IntegerOp/BITCLEAR.js
index 8fda742f..a22a133c 100644
--- a/js/IntegerOp/BITCLEAR.js
+++ b/js/IntegerOp/BITCLEAR.js
@@ -21,6 +21,8 @@ function BITCLEAR() {
return this.x;
}
BITCLEAR.prototype.get = function BITCLEAR() {
+ var exprs = this.graphics.exprs;
+ this.set_param_popup_title = msprintf("Set %s block parameters","BITCLEAR");
var options = {
Datatype:[msprintf("Data Type %s","(3:int32, 4:int16, 5:int8, ...)"),this.Datatype],
bit:["Index of Bit (0 is least significant)",this.bit],
@@ -95,7 +97,6 @@ function BITCLEAR() {
return new BasicBlock(this.x);
}
BITCLEAR.prototype.get_popup_title = function BITCLEAR() {
- var set_param_popup_title = msprintf("Set %s block parameters","BITCLEAR");
- return set_param_popup_title;
+ return this.set_param_popup_title;
}
}