mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Fix compiler warnings related to fields. (#3144)
* Fix compiler warnings related to fields.
This commit is contained in:
@@ -839,7 +839,7 @@ Blockly.Blocks['lists_split'] = {
|
||||
if (inputBlock.isShadow()) {
|
||||
inputBlock.dispose();
|
||||
} else {
|
||||
this.bumpNeighbours_();
|
||||
this.bumpNeighbours();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -574,7 +574,7 @@ Blockly.Constants.Logic.LOGIC_COMPARE_ONCHANGE_MIXIN = {
|
||||
this.getInput('B').connection.connect(prevB.outputConnection);
|
||||
}
|
||||
}
|
||||
this.bumpNeighbours_();
|
||||
this.bumpNeighbours();
|
||||
Blockly.Events.setGroup(false);
|
||||
}
|
||||
this.prevBlocks_[0] = this.getInputTargetBlock('A');
|
||||
@@ -626,10 +626,10 @@ Blockly.Constants.Logic.LOGIC_TERNARY_ONCHANGE_MIXIN = {
|
||||
Blockly.Events.setGroup(e.group);
|
||||
if (parentConnection === this.prevParentConnection_) {
|
||||
this.unplug();
|
||||
parentConnection.getSourceBlock().bumpNeighbours_();
|
||||
parentConnection.getSourceBlock().bumpNeighbours();
|
||||
} else {
|
||||
block.unplug();
|
||||
block.bumpNeighbours_();
|
||||
block.bumpNeighbours();
|
||||
}
|
||||
Blockly.Events.setGroup(false);
|
||||
}
|
||||
|
||||
@@ -253,7 +253,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
|
||||
if (this.statementConnection_) {
|
||||
var stackBlock = stackConnection.targetBlock();
|
||||
stackBlock.unplug();
|
||||
stackBlock.bumpNeighbours_();
|
||||
stackBlock.bumpNeighbours();
|
||||
}
|
||||
this.setStatements_(false);
|
||||
}
|
||||
@@ -752,7 +752,7 @@ Blockly.Blocks['procedures_callnoreturn'] = {
|
||||
paramIds.indexOf(this.quarkIds_[i]) == -1) {
|
||||
// This connection should no longer be attached to this block.
|
||||
connection.disconnect();
|
||||
connection.getSourceBlock().bumpNeighbours_();
|
||||
connection.getSourceBlock().bumpNeighbours();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user