summaryrefslogtreecommitdiff
path: root/js/IntegerOp/BITSET.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/BITSET.js')
-rw-r--r--js/IntegerOp/BITSET.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/IntegerOp/BITSET.js b/js/IntegerOp/BITSET.js
index 28274e36..46a5273b 100644
--- a/js/IntegerOp/BITSET.js
+++ b/js/IntegerOp/BITSET.js
@@ -21,6 +21,8 @@ function BITSET() {
return this.x;
}
BITSET.prototype.get = function BITSET() {
+ var exprs = this.graphics.exprs;
+ this.set_param_popup_title = msprintf("Set %s block parameters","BITSET");
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],
@@ -93,7 +95,6 @@ function BITSET() {
return new BasicBlock(this.x);
}
BITSET.prototype.get_popup_title = function BITSET() {
- var set_param_popup_title = msprintf("Set %s block parameters","BITSET");
- return set_param_popup_title;
+ return this.set_param_popup_title;
}
}