From 5d09b80cb63506ae92b1302125f576fa8015433b Mon Sep 17 00:00:00 2001 From: kozbial Date: Wed, 4 Aug 2021 15:18:19 -0700 Subject: [PATCH] Migrate core/input_types.js named requires --- core/input_types.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/input_types.js b/core/input_types.js index eb9a08a71..8bdc9e504 100644 --- a/core/input_types.js +++ b/core/input_types.js @@ -14,7 +14,7 @@ goog.module('Blockly.inputTypes'); goog.module.declareLegacyNamespace(); -goog.require('Blockly.connectionTypes'); +const connectionTypes = goog.require('Blockly.connectionTypes'); /** * Enum for the type of a connection or input. @@ -22,9 +22,9 @@ goog.require('Blockly.connectionTypes'); */ const inputTypes = { // A right-facing value input. E.g. 'set item to' or 'return'. - VALUE: Blockly.connectionTypes.INPUT_VALUE, + VALUE: connectionTypes.INPUT_VALUE, // A down-facing block stack. E.g. 'if-do' or 'else'. - STATEMENT: Blockly.connectionTypes.NEXT_STATEMENT, + STATEMENT: connectionTypes.NEXT_STATEMENT, // A dummy input. Used to add field(s) with no input. DUMMY: 5 };