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,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;
|
||||
|
||||
Reference in New Issue
Block a user