chore: named exports for block* files (#5512)

* chore: named export for block.js

* chore: named export for block_drag_surface.js

* chore: named export for block_dragger.js

* chore: named export for block_svg.js

* Fix import ordering

* chore: fix imports using requireType

* Remove extra require
This commit is contained in:
Rachel Fenichel
2021-09-22 08:46:19 -07:00
committed by GitHub
parent cf091351d8
commit 3adfaaf6d9
78 changed files with 185 additions and 184 deletions

View File

@@ -13,7 +13,6 @@
goog.module('Blockly.inject');
goog.module.declareLegacyNamespace();
const BlockDragSurfaceSvg = goog.require('Blockly.BlockDragSurfaceSvg');
/* eslint-disable-next-line no-unused-vars */
const BlocklyOptions = goog.requireType('Blockly.BlocklyOptions');
const Css = goog.require('Blockly.Css');
@@ -37,6 +36,7 @@ const common = goog.require('Blockly.common');
const dom = goog.require('Blockly.utils.dom');
const userAgent = goog.require('Blockly.utils.userAgent');
const utils = goog.require('Blockly.utils');
const {BlockDragSurfaceSvg} = goog.require('Blockly.BlockDragSurfaceSvg');
/**