mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
refactor: Migrate to named exports (#5623)
* refactor: Migrate to named exports * fix: Sort requires * fix: Remove duplicate deps
This commit is contained in:
@@ -15,17 +15,17 @@
|
||||
*/
|
||||
goog.module('Blockly.FlyoutButton');
|
||||
|
||||
const Coordinate = goog.require('Blockly.utils.Coordinate');
|
||||
const Css = goog.require('Blockly.Css');
|
||||
const Svg = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const WorkspaceSvg = goog.requireType('Blockly.WorkspaceSvg');
|
||||
const browserEvents = goog.require('Blockly.browserEvents');
|
||||
const dom = goog.require('Blockly.utils.dom');
|
||||
const style = goog.require('Blockly.utils.style');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const toolbox = goog.requireType('Blockly.utils.toolbox');
|
||||
const utils = goog.require('Blockly.utils');
|
||||
const {Coordinate} = goog.require('Blockly.utils.Coordinate');
|
||||
const {Svg} = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {WorkspaceSvg} = goog.requireType('Blockly.WorkspaceSvg');
|
||||
|
||||
|
||||
/**
|
||||
@@ -336,4 +336,4 @@ Css.register(`
|
||||
}
|
||||
`);
|
||||
|
||||
exports = FlyoutButton;
|
||||
exports.FlyoutButton = FlyoutButton;
|
||||
|
||||
Reference in New Issue
Block a user