mirror of
https://github.com/google/blockly.git
synced 2026-03-10 15:20:16 +01:00
Merge pull request #2069 from google/rachel-fenichel-patch-1
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