From a8b0b90c6f883cfc5d88bf6713e11aa4139bae3c Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Mon, 19 Nov 2018 12:55:04 -0800 Subject: [PATCH] Add warning for default case in canConnectToPrevious_ --- core/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/connection.js b/core/connection.js index e01063939..9c60ea98b 100644 --- a/core/connection.js +++ b/core/connection.js @@ -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; };