Migrate core/renderers/measurables/input_connection.js to ES6 const/let

This commit is contained in:
kozbial
2021-08-10 15:45:38 -07:00
committed by Monica Kozbial
parent 09573bcf16
commit 3081c40a02

View File

@@ -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 {