refactor: Migrate to named exports (#5623)

* refactor: Migrate to named exports

* fix: Sort requires

* fix: Remove duplicate deps
This commit is contained in:
Aaron Dodson
2021-10-20 15:53:23 -07:00
committed by GitHub
parent abe1ffe735
commit 3851b14627
235 changed files with 1652 additions and 1661 deletions

View File

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