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,10 +15,10 @@
*/
goog.module('Blockly.ContextMenuRegistry');
/* eslint-disable-next-line no-unused-vars */
const WorkspaceSvg = goog.requireType('Blockly.WorkspaceSvg');
/* eslint-disable-next-line no-unused-vars */
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
/* eslint-disable-next-line no-unused-vars */
const {WorkspaceSvg} = goog.requireType('Blockly.WorkspaceSvg');
/**
@@ -171,4 +171,4 @@ ContextMenuRegistry.prototype.getContextMenuOptions = function(
// Creates and assigns the singleton instance.
new ContextMenuRegistry();
exports = ContextMenuRegistry;
exports.ContextMenuRegistry = ContextMenuRegistry;