mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Remove require destructuring (#5294)
This commit is contained in:
@@ -21,7 +21,7 @@ const DragTarget = goog.require('Blockly.DragTarget');
|
||||
const IDeleteArea = goog.require('Blockly.IDeleteArea');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const IDraggable = goog.requireType('Blockly.IDraggable');
|
||||
const {inherits} = goog.require('Blockly.utils.object');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
|
||||
/**
|
||||
* Abstract class for a component that can delete a block or bubble that is
|
||||
@@ -42,7 +42,7 @@ const DeleteArea = function() {
|
||||
*/
|
||||
this.wouldDelete_ = false;
|
||||
};
|
||||
inherits(DeleteArea, DragTarget);
|
||||
object.inherits(DeleteArea, DragTarget);
|
||||
|
||||
/**
|
||||
* Returns whether the provided block or bubble would be deleted if dropped on
|
||||
|
||||
Reference in New Issue
Block a user