mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Migrate core/interfaces/i_bounded_element.js named requires
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user