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.FieldCheckbox');
const Field = goog.require('Blockly.Field');
const dom = goog.require('Blockly.utils.dom');
const fieldRegistry = goog.require('Blockly.fieldRegistry');
const object = goog.require('Blockly.utils.object');
const {Field} = goog.require('Blockly.Field');
/** @suppress {extraRequire} */
goog.require('Blockly.Events.BlockChange');
@@ -240,4 +240,4 @@ FieldCheckbox.prototype.convertValueToBool_ = function(value) {
fieldRegistry.register('field_checkbox', FieldCheckbox);
exports = FieldCheckbox;
exports.FieldCheckbox = FieldCheckbox;