mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Add warning for default case in canConnectToPrevious_
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user