From 3081c40a029aff68291c2e2b559163ae9fa8d8e5 Mon Sep 17 00:00:00 2001 From: kozbial Date: Tue, 10 Aug 2021 15:45:38 -0700 Subject: [PATCH] Migrate core/renderers/measurables/input_connection.js to ES6 const/let --- core/renderers/measurables/input_connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/renderers/measurables/input_connection.js b/core/renderers/measurables/input_connection.js index 9a9edc887..420c508ca 100644 --- a/core/renderers/measurables/input_connection.js +++ b/core/renderers/measurables/input_connection.js @@ -40,7 +40,7 @@ Blockly.blockRendering.InputConnection = function(constants, input) { input.connection.targetBlock() : null; if (this.connectedBlock) { - var bBox = this.connectedBlock.getHeightWidth(); + const bBox = this.connectedBlock.getHeightWidth(); this.connectedBlockWidth = bBox.width; this.connectedBlockHeight = bBox.height; } else {