From bfc801ed9f9baa9ff37894dea9ecf88a7fdb2cd1 Mon Sep 17 00:00:00 2001 From: kozbial Date: Fri, 16 Jul 2021 12:05:45 -0700 Subject: [PATCH] Migrate core/interfaces/i_bounded_element.js named requires --- core/interfaces/i_bounded_element.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/interfaces/i_bounded_element.js b/core/interfaces/i_bounded_element.js index fdbeb5b99..461d52ca1 100644 --- a/core/interfaces/i_bounded_element.js +++ b/core/interfaces/i_bounded_element.js @@ -14,7 +14,7 @@ goog.module('Blockly.IBoundedElement'); goog.module.declareLegacyNamespace(); -goog.requireType('Blockly.utils.Rect'); +const Rect = goog.requireType('Blockly.utils.Rect'); /** @@ -27,7 +27,7 @@ const IBoundedElement = function() {}; * Returns the coordinates of a bounded element describing the dimensions of the * element. * Coordinate system: workspace coordinates. - * @return {!Blockly.utils.Rect} Object with coordinates of the bounded element. + * @return {!Rect} Object with coordinates of the bounded element. */ IBoundedElement.prototype.getBoundingRectangle;