Skip to content

Commit 49ba2bc

Browse files
committed
Remove offending empty SetToolTip calls
1 parent 949b54d commit 49ba2bc

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

src/main/webapp/cdn/blockly/generators/propc/base.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ Blockly.Blocks.system_counter = {
258258
this.appendDummyInput()
259259
.appendField("system counter");
260260
this.setOutput(true, "Number");
261-
this.setTooltip('');
262261
}
263262
};
264263

src/main/webapp/cdn/blockly/generators/propc/math.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ Blockly.Blocks.math_limit = {
7777
.appendField("and");
7878

7979
this.setInputsInline(true);
80-
this.setTooltip("limit");
8180
this.setOutput(true, 'Number');
8281
this.setPreviousStatement(false, null);
8382
this.setNextStatement(false, null);
@@ -110,16 +109,13 @@ Blockly.propc.math_limit.OPERATORS = {
110109

111110
// Increment/decrement
112111
Blockly.Blocks.math_crement = {
113-
// Rounding functions.
114112
helpUrl: Blockly.MSG_NUMBERS_HELPURL,
115113
init: function() {
116114
this.setTooltip(Blockly.MSG_MATH_CREMENT_TOOLTIP);
117115
this.setColour(colorPalette.getColor('math'));
118116
this.appendValueInput('VAR')
119117
.setCheck('Number')
120118
.appendField(new Blockly.FieldDropdown(this.OPERATORS), 'OP');
121-
122-
this.setTooltip("");
123119
this.setPreviousStatement(true);
124120
this.setNextStatement(true);
125121
}
@@ -182,7 +178,12 @@ Blockly.Blocks.math_bitwise = {
182178
this.setColour(colorPalette.getColor('math'));
183179
this.appendValueInput('VAL1');
184180
this.appendDummyInput()
185-
.appendField(new Blockly.FieldDropdown([["& (bitwise AND)", "&"], ["| (bitwise OR)", "|"], ["^ (bitwise XOR)", "^"], [">> (bitwise right shift)", ">>"], ["<< (bitwise left shift)", "<<"]]), "OPERATION");
181+
.appendField(new Blockly.FieldDropdown([
182+
["& (bitwise AND)", "&"],
183+
["| (bitwise OR)", "|"],
184+
["^ (bitwise XOR)", "^"],
185+
[">> (bitwise right shift)", ">>"],
186+
["<< (bitwise left shift)", "<<"]]), "OPERATION");
186187
this.appendValueInput('VAL2');
187188

188189
this.setOutput(true, 'Number');

src/main/webapp/cdn/blockly/language/common/pins.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ Blockly.Blocks.check_pin = {
6666
.appendField("check PIN")
6767
.appendField(new Blockly.FieldDropdown(profile.default.digital), "PIN");
6868
this.setOutput(true, 'Number');
69-
this.setTooltip('');
7069
}
7170
};
7271

@@ -81,7 +80,6 @@ Blockly.Blocks.check_pin_input = {
8180
.setCheck('Number');
8281
this.setOutput(true, 'Number');
8382
this.setInputsInline(true);
84-
this.setTooltip('');
8583
}
8684
};
8785

0 commit comments

Comments
 (0)