Add warning for default case in canConnectToPrevious_

This commit is contained in:
Rachel Fenichel
2018-11-19 12:55:04 -08:00
parent d70e89d1e0
commit a8b0b90c6f

View File

@@ -380,7 +380,7 @@ Blockly.Connection.prototype.canConnectToPrevious_ = function(candidate) {
// marker is in the middle of a stack, it won't work.
return !targetBlock.getPreviousBlock();
}
// ???
console.warn('Returning false by default from canConnectToPrevious_.');
return false;
};