mirror of
https://github.com/google/blockly.git
synced 2026-01-11 10:57:07 +01:00
Fix inconsistent return type warning
This commit is contained in:
@@ -369,7 +369,7 @@ Blockly.Block.prototype.unplugFromRow_ = function(opt_healStack) {
|
||||
* @private
|
||||
*/
|
||||
Blockly.Block.prototype.getOnlyValueConnection_ = function() {
|
||||
var connection = false;
|
||||
var connection = null;
|
||||
for (var i = 0; i < this.inputList.length; i++) {
|
||||
var thisConnection = this.inputList[i].connection;
|
||||
if (thisConnection && thisConnection.type == Blockly.INPUT_VALUE) {
|
||||
|
||||
Reference in New Issue
Block a user