Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Rename Blockly.connectionTypes to Blockly.ConnectionType #5407

Merged
merged 14 commits into from
Sep 24, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 31 additions & 31 deletions blockly_compressed.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Tooltip = goog.require('Blockly.Tooltip');
const VariableModel = goog.requireType('Blockly.VariableModel');
/* eslint-disable-next-line no-unused-vars */
const Workspace = goog.requireType('Blockly.Workspace');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
BeksOmega marked this conversation as resolved.
Show resolved Hide resolved
const constants = goog.require('Blockly.constants');
const fieldRegistry = goog.require('Blockly.fieldRegistry');
const inputTypes = goog.require('Blockly.inputTypes');
Expand Down
2 changes: 1 addition & 1 deletion core/block_svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const Xml = goog.require('Blockly.Xml');
const blockAnimations = goog.require('Blockly.blockAnimations');
const browserEvents = goog.require('Blockly.browserEvents');
const common = goog.require('Blockly.common');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
const constants = goog.require('Blockly.constants');
const deprecation = goog.require('Blockly.utils.deprecation');
const dom = goog.require('Blockly.utils.dom');
Expand Down
18 changes: 9 additions & 9 deletions core/blockly.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ goog.require('Blockly.browserEvents');
goog.require('Blockly.clipboard');
goog.require('Blockly.common');
goog.require('Blockly.ComponentManager');
goog.require('Blockly.connectionTypes');
goog.require('
goog.require('Blockly.constants');
goog.require('Blockly.DropDownDiv');
goog.require('Blockly.Events');
Expand Down Expand Up @@ -402,24 +402,24 @@ Blockly.ALIGN_RIGHT = Blockly.constants.ALIGN.RIGHT;
*/

/**
* @see Blockly.connectionTypes.INPUT_VALUE
* @see
*/
Blockly.INPUT_VALUE = Blockly.connectionTypes.INPUT_VALUE;
Blockly.INPUT_VALUE =
BeksOmega marked this conversation as resolved.
Show resolved Hide resolved

/**
* @see Blockly.connectionTypes.OUTPUT_VALUE
* @see
*/
Blockly.OUTPUT_VALUE = Blockly.connectionTypes.OUTPUT_VALUE;
Blockly.OUTPUT_VALUE =

/**
* @see Blockly.connectionTypes.NEXT_STATEMENT
* @see
*/
Blockly.NEXT_STATEMENT = Blockly.connectionTypes.NEXT_STATEMENT;
Blockly.NEXT_STATEMENT =

/**
* @see Blockly.connectionTypes.PREVIOUS_STATEMENT
* @see
*/
Blockly.PREVIOUS_STATEMENT = Blockly.connectionTypes.PREVIOUS_STATEMENT;
Blockly.PREVIOUS_STATEMENT =

/**
* @see Blockly.inputTypes.DUMMY_INPUT
Expand Down
2 changes: 1 addition & 1 deletion core/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const IConnectionChecker = goog.requireType('Blockly.IConnectionChecker');
/* eslint-disable-next-line no-unused-vars */
const Input = goog.requireType('Blockly.Input');
const Xml = goog.require('Blockly.Xml');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
const deprecation = goog.require('Blockly.utils.deprecation');
/** @suppress {extraRequire} */
goog.require('Blockly.constants');
Expand Down
2 changes: 1 addition & 1 deletion core/connection_checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const IConnectionChecker = goog.requireType('Blockly.IConnectionChecker');
/* eslint-disable-next-line no-unused-vars */
const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
const common = goog.require('Blockly.common');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
const internalConstants = goog.require('Blockly.internalConstants');
const registry = goog.require('Blockly.registry');

Expand Down
2 changes: 1 addition & 1 deletion core/connection_db.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Coordinate = goog.requireType('Blockly.utils.Coordinate');
const IConnectionChecker = goog.requireType('Blockly.IConnectionChecker');
/* eslint-disable-next-line no-unused-vars */
const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
/** @suppress {extraRequire} */
goog.require('Blockly.constants');

Expand Down
2 changes: 1 addition & 1 deletion core/connection_types.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

'use strict';

goog.module('Blockly.connectionTypes');
goog.module('
goog.module.declareLegacyNamespace();

/**
Expand Down
2 changes: 1 addition & 1 deletion core/events/events_block_move.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Block = goog.requireType('Blockly.Block');
const BlockBase = goog.require('Blockly.Events.BlockBase');
const Coordinate = goog.require('Blockly.utils.Coordinate');
const Events = goog.require('Blockly.Events');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
const object = goog.require('Blockly.utils.object');
const registry = goog.require('Blockly.registry');

Expand Down
2 changes: 1 addition & 1 deletion core/input_types.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
goog.module('Blockly.inputTypes');
goog.module.declareLegacyNamespace();

const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('

/**
* Enum for the type of a connection or input.
Expand Down
2 changes: 1 addition & 1 deletion core/insertion_marker_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
/* eslint-disable-next-line no-unused-vars */
const WorkspaceSvg = goog.requireType('Blockly.WorkspaceSvg');
const blockAnimations = goog.require('Blockly.blockAnimations');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
const constants = goog.require('Blockly.constants');
const internalConstants = goog.require('Blockly.internalConstants');

Expand Down
2 changes: 1 addition & 1 deletion core/internal_constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
goog.module('Blockly.internalConstants');
goog.module.declareLegacyNamespace();

const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('


/**
Expand Down
2 changes: 1 addition & 1 deletion core/keyboard_nav/ast_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const IASTNodeLocationWithBlock = goog.requireType('Blockly.IASTNodeLocationWith
const Input = goog.requireType('Blockly.Input');
/* eslint-disable-next-line no-unused-vars */
const Workspace = goog.requireType('Blockly.Workspace');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('


/**
Expand Down
2 changes: 1 addition & 1 deletion core/rendered_connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const ConnectionDB = goog.requireType('Blockly.ConnectionDB');
const Coordinate = goog.require('Blockly.utils.Coordinate');
const Events = goog.require('Blockly.Events');
const Svg = goog.require('Blockly.utils.Svg');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
const deprecation = goog.require('Blockly.utils.deprecation');
const dom = goog.require('Blockly.utils.dom');
const internalConstants = goog.require('Blockly.internalConstants');
Expand Down
2 changes: 1 addition & 1 deletion core/renderers/common/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Svg = goog.require('Blockly.utils.Svg');
/* eslint-disable-next-line no-unused-vars */
const Theme = goog.requireType('Blockly.Theme');
const colour = goog.require('Blockly.utils.colour');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
const dom = goog.require('Blockly.utils.dom');
const svgPaths = goog.require('Blockly.utils.svgPaths');
const userAgent = goog.require('Blockly.utils.userAgent');
Expand Down
2 changes: 1 addition & 1 deletion core/renderers/common/debugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const RenderInfo = goog.requireType('Blockly.blockRendering.RenderInfo');
const Row = goog.requireType('Blockly.blockRendering.Row');
const Svg = goog.require('Blockly.utils.Svg');
const Types = goog.require('Blockly.blockRendering.Types');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
const dom = goog.require('Blockly.utils.dom');


Expand Down
2 changes: 1 addition & 1 deletion core/renderers/common/marker_svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
const Svg = goog.require('Blockly.utils.Svg');
/* eslint-disable-next-line no-unused-vars */
const WorkspaceSvg = goog.requireType('Blockly.WorkspaceSvg');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
const dom = goog.require('Blockly.utils.dom');
const svgPaths = goog.require('Blockly.utils.svgPaths');
/** @suppress {extraRequire} */
Expand Down
2 changes: 1 addition & 1 deletion core/renderers/zelos/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ goog.module.declareLegacyNamespace();

const BaseConstantProvider = goog.require('Blockly.blockRendering.ConstantProvider');
const Svg = goog.require('Blockly.utils.Svg');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
const dom = goog.require('Blockly.utils.dom');
const object = goog.require('Blockly.utils.object');
const svgPaths = goog.require('Blockly.utils.svgPaths');
Expand Down
2 changes: 1 addition & 1 deletion core/renderers/zelos/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Theme = goog.requireType('Blockly.Theme');
/* eslint-disable-next-line no-unused-vars */
const WorkspaceSvg = goog.requireType('Blockly.WorkspaceSvg');
const blockRendering = goog.require('Blockly.blockRendering');
const connectionTypes = goog.require('Blockly.connectionTypes');
const connectionTypes = goog.require('
const object = goog.require('Blockly.utils.object');


Expand Down
Loading