mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
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:
@@ -13,8 +13,6 @@
|
||||
goog.module('Blockly.blockRendering.Debug');
|
||||
goog.module.declareLegacyNamespace();
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const BlockSvg = goog.requireType('Blockly.BlockSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const FieldLabel = goog.require('Blockly.FieldLabel');
|
||||
@@ -32,6 +30,8 @@ const Svg = goog.require('Blockly.utils.Svg');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const connectionTypes = goog.require('Blockly.connectionTypes');
|
||||
const dom = goog.require('Blockly.utils.dom');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user