From ed531ec3135bb26cd5cb44f6ebf33220c262b449 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Mon, 20 Mar 2023 09:43:58 -0700 Subject: [PATCH] chore: remove all namespace comments (#6903) * chore: remove all namespace comments * chore: fix lint --- core/block_animations.ts | 5 ----- core/blockly.ts | 5 ----- core/blockly_options.ts | 5 ----- core/blocks.ts | 5 ----- core/browser_events.ts | 5 ----- core/bump_objects.ts | 5 ----- core/clipboard.ts | 5 ----- core/common.ts | 6 ------ core/config.ts | 7 ------- core/connection_type.ts | 5 ----- core/constants.ts | 5 ----- core/contextmenu.ts | 5 ----- core/contextmenu_items.ts | 5 ----- core/css.ts | 5 ----- core/dialog.ts | 5 ----- core/events/events.ts | 5 ----- core/events/utils.ts | 6 ------ core/extensions.ts | 8 -------- core/field_registry.ts | 7 ------- core/inject.ts | 5 ----- core/input_types.ts | 5 ----- core/insertion_marker_manager.ts | 1 - core/interfaces/i_ast_node_location.ts | 5 ----- core/interfaces/i_ast_node_location_svg.ts | 5 ----- core/interfaces/i_ast_node_location_with_block.ts | 6 ------ core/interfaces/i_autohideable.ts | 6 ------ core/interfaces/i_block_dragger.ts | 5 ----- core/interfaces/i_bounded_element.ts | 5 ----- core/interfaces/i_bubble.ts | 5 ----- core/interfaces/i_collapsible_toolbox_item.ts | 5 ----- core/interfaces/i_component.ts | 6 ------ core/interfaces/i_connection_checker.ts | 6 ------ core/interfaces/i_contextmenu.ts | 5 ----- core/interfaces/i_copyable.ts | 5 ----- core/interfaces/i_deletable.ts | 5 ----- core/interfaces/i_delete_area.ts | 6 ------ core/interfaces/i_drag_target.ts | 6 ------ core/interfaces/i_draggable.ts | 5 ----- core/interfaces/i_flyout.ts | 5 ----- core/interfaces/i_keyboard_accessible.ts | 5 ----- core/interfaces/i_metrics_manager.ts | 5 ----- core/interfaces/i_movable.ts | 5 ----- core/interfaces/i_positionable.ts | 5 ----- core/interfaces/i_procedure_model.ts | 5 ----- core/interfaces/i_registrable.ts | 6 ------ core/interfaces/i_selectable.ts | 5 ----- core/interfaces/i_selectable_toolbox_item.ts | 5 ----- core/interfaces/i_serializer.ts | 6 ------ core/interfaces/i_styleable.ts | 5 ----- core/interfaces/i_toolbox.ts | 5 ----- core/interfaces/i_toolbox_item.ts | 5 ----- core/internal_constants.ts | 6 ------ core/msg.ts | 5 ----- core/positionable_helpers.ts | 5 ----- core/procedures.ts | 5 ----- core/registry.ts | 6 ------ core/serialization/blocks.ts | 5 ----- core/serialization/exceptions.ts | 5 ----- core/serialization/priorities.ts | 7 ------- core/serialization/registry.ts | 6 ------ core/serialization/variables.ts | 6 ------ core/serialization/workspaces.ts | 6 ------ core/shortcut_items.ts | 5 ----- core/theme/classic.ts | 6 ------ core/theme/themes.ts | 5 ----- core/theme/zelos.ts | 5 ----- core/tooltip.ts | 10 ---------- core/touch.ts | 5 ----- core/utils.ts | 5 ----- core/utils/aria.ts | 7 ------- core/utils/array.ts | 1 - core/utils/colour.ts | 5 ----- core/utils/deprecation.ts | 6 ------ core/utils/dom.ts | 7 ------- core/utils/idgenerator.ts | 5 ----- core/utils/keycodes.ts | 7 ------- core/utils/math.ts | 7 ------- core/utils/metrics.ts | 5 ----- core/utils/object.ts | 5 ----- core/utils/parsing.ts | 3 --- core/utils/string.ts | 7 ------- core/utils/style.ts | 7 ------- core/utils/svg_math.ts | 5 ----- core/utils/svg_paths.ts | 5 ----- core/utils/toolbox.ts | 5 ----- core/utils/useragent.ts | 7 ------- core/utils/xml.ts | 7 ------- core/variables.ts | 5 ----- core/variables_dynamic.ts | 5 ----- core/widgetdiv.ts | 7 ------- core/xml.ts | 5 ----- 91 files changed, 494 deletions(-) diff --git a/core/block_animations.ts b/core/block_animations.ts index 065b4ee51..8f72bfa65 100644 --- a/core/block_animations.ts +++ b/core/block_animations.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Methods animating a block on connection and disconnection. - * - * @namespace Blockly.blockAnimations - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.blockAnimations'); diff --git a/core/blockly.ts b/core/blockly.ts index da5dc651d..b833924f6 100644 --- a/core/blockly.ts +++ b/core/blockly.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The top level namespace used to access the Blockly library. - * - * @namespace Blockly - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly'); diff --git a/core/blockly_options.ts b/core/blockly_options.ts index 6741def18..deabe1f96 100644 --- a/core/blockly_options.ts +++ b/core/blockly_options.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Object that defines user-specified options for the workspace. - * - * @namespace Blockly.BlocklyOptions - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.BlocklyOptions'); diff --git a/core/blocks.ts b/core/blocks.ts index 9d9466b7e..0b381fa89 100644 --- a/core/blocks.ts +++ b/core/blocks.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * A mapping of block type names to block prototype objects. - * - * @namespace Blockly.blocks - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.blocks'); diff --git a/core/browser_events.ts b/core/browser_events.ts index 2d389415a..6723aa7e5 100644 --- a/core/browser_events.ts +++ b/core/browser_events.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Browser event handling. - * - * @namespace Blockly.browserEvents - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.browserEvents'); diff --git a/core/bump_objects.ts b/core/bump_objects.ts index 873b007aa..7396b7a0e 100644 --- a/core/bump_objects.ts +++ b/core/bump_objects.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utilities for bumping objects back into worksapce bounds. - * - * @namespace Blockly.bumpObjects - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.bumpObjects'); diff --git a/core/clipboard.ts b/core/clipboard.ts index 2056e950f..6b402a5e9 100644 --- a/core/clipboard.ts +++ b/core/clipboard.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Blockly's internal clipboard for managing copy-paste. - * - * @namespace Blockly.clipboard - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.clipboard'); diff --git a/core/common.ts b/core/common.ts index a678ceef0..b50eb7b68 100644 --- a/core/common.ts +++ b/core/common.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Common functions used both internally and externally, but which - * must not be at the top level to avoid circular dependencies. - * - * @namespace Blockly.common - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.common'); diff --git a/core/config.ts b/core/config.ts index e2b6c6988..549a6aaf7 100644 --- a/core/config.ts +++ b/core/config.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * All the values that we expect developers to be able to change - * before injecting Blockly. Changing these values during run time is not - * generally recommended. - * - * @namespace Blockly.config - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.config'); diff --git a/core/connection_type.ts b/core/connection_type.ts index 990b9a5af..5fe77b12b 100644 --- a/core/connection_type.ts +++ b/core/connection_type.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * An enum for the possible types of connections. - * - * @namespace Blockly.ConnectionType - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.ConnectionType'); diff --git a/core/constants.ts b/core/constants.ts index 49ec99b91..ace571ff1 100644 --- a/core/constants.ts +++ b/core/constants.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Blockly constants. - * - * @namespace Blockly.constants - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.constants'); diff --git a/core/contextmenu.ts b/core/contextmenu.ts index 8122b1b03..f9015a57e 100644 --- a/core/contextmenu.ts +++ b/core/contextmenu.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Functionality for the right-click context menus. - * - * @namespace Blockly.ContextMenu - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.ContextMenu'); diff --git a/core/contextmenu_items.ts b/core/contextmenu_items.ts index 81c1003e0..67d035307 100644 --- a/core/contextmenu_items.ts +++ b/core/contextmenu_items.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Registers default context menu items. - * - * @namespace Blockly.ContextMenuItems - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.ContextMenuItems'); diff --git a/core/css.ts b/core/css.ts index 88284a407..f473aacf7 100644 --- a/core/css.ts +++ b/core/css.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Inject Blockly's CSS synchronously. - * - * @namespace Blockly.Css - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.Css'); diff --git a/core/dialog.ts b/core/dialog.ts index 733eab90d..4c5d17852 100644 --- a/core/dialog.ts +++ b/core/dialog.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Wrapper functions around JS functions for showing alert/confirmation dialogs. - * - * @namespace Blockly.dialog - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.dialog'); diff --git a/core/events/events.ts b/core/events/events.ts index 06bede7b7..edea5a6ff 100644 --- a/core/events/events.ts +++ b/core/events/events.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Events fired as a result of actions in Blockly's editor. - * - * @namespace Blockly.Events - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.Events'); diff --git a/core/events/utils.ts b/core/events/utils.ts index 970ae695a..4c3ca57cd 100644 --- a/core/events/utils.ts +++ b/core/events/utils.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Helper methods for events that are fired as a result of - * actions in Blockly's editor. - * - * @namespace Blockly.Events.utils - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.Events.utils'); diff --git a/core/extensions.ts b/core/extensions.ts index 79a21ecb5..20e1ed47e 100644 --- a/core/extensions.ts +++ b/core/extensions.ts @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Extensions are functions that help initialize blocks, usually - * adding dynamic behavior such as onchange handlers and mutators. These - * are applied using Block.applyExtension(), or the JSON "extensions" - * array attribute. - * - * @namespace Blockly.Extensions - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.Extensions'); diff --git a/core/field_registry.ts b/core/field_registry.ts index 9606dd55a..25364d448 100644 --- a/core/field_registry.ts +++ b/core/field_registry.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Fields can be created based on a JSON definition. This file - * contains methods for registering those JSON definitions, and building the - * fields based on JSON. - * - * @namespace Blockly.fieldRegistry - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.fieldRegistry'); diff --git a/core/inject.ts b/core/inject.ts index ad4162546..a02ee52b3 100644 --- a/core/inject.ts +++ b/core/inject.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Functions for injecting Blockly into a web page. - * - * @namespace Blockly.inject - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.inject'); diff --git a/core/input_types.ts b/core/input_types.ts index eab660df9..8f50346ad 100644 --- a/core/input_types.ts +++ b/core/input_types.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * An enum for the possible types of inputs. - * - * @namespace Blockly.inputTypes - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.inputTypes'); diff --git a/core/insertion_marker_manager.ts b/core/insertion_marker_manager.ts index 6ca80f46f..7f53caa0d 100644 --- a/core/insertion_marker_manager.ts +++ b/core/insertion_marker_manager.ts @@ -17,7 +17,6 @@ import type {BlockSvg} from './block_svg.js'; import * as common from './common.js'; import {ComponentManager} from './component_manager.js'; import {config} from './config.js'; -import {ConnectionType} from './connection_type.js'; import * as constants from './constants.js'; import * as eventUtils from './events/utils.js'; import type {IDeleteArea} from './interfaces/i_delete_area.js'; diff --git a/core/interfaces/i_ast_node_location.ts b/core/interfaces/i_ast_node_location.ts index bb601d260..36c5e7eec 100644 --- a/core/interfaces/i_ast_node_location.ts +++ b/core/interfaces/i_ast_node_location.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for an AST node location. - * - * @namespace Blockly.IASTNodeLocation - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IASTNodeLocation'); diff --git a/core/interfaces/i_ast_node_location_svg.ts b/core/interfaces/i_ast_node_location_svg.ts index 83eb6585f..0617b5d8e 100644 --- a/core/interfaces/i_ast_node_location_svg.ts +++ b/core/interfaces/i_ast_node_location_svg.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for an AST node location SVG. - * - * @namespace Blockly.IASTNodeLocationSvg - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IASTNodeLocationSvg'); diff --git a/core/interfaces/i_ast_node_location_with_block.ts b/core/interfaces/i_ast_node_location_with_block.ts index 48eb094d7..56e12b3ee 100644 --- a/core/interfaces/i_ast_node_location_with_block.ts +++ b/core/interfaces/i_ast_node_location_with_block.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for an AST node location that has an associated - * block. - * - * @namespace Blockly.IASTNodeLocationWithBlock - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IASTNodeLocationWithBlock'); diff --git a/core/interfaces/i_autohideable.ts b/core/interfaces/i_autohideable.ts index 8b72e33c3..d7abcad1e 100644 --- a/core/interfaces/i_autohideable.ts +++ b/core/interfaces/i_autohideable.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a component that is automatically hidden - * when WorkspaceSvg.hideChaff is called. - * - * @namespace Blockly.IAutoHideable - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IAutoHideable'); diff --git a/core/interfaces/i_block_dragger.ts b/core/interfaces/i_block_dragger.ts index 4bb95b27f..d0418224f 100644 --- a/core/interfaces/i_block_dragger.ts +++ b/core/interfaces/i_block_dragger.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a block dragger. - * - * @namespace Blockly.IBlockDragger - */ import * as goog from '../../closure/goog/goog.js'; import type {Coordinate} from '../utils/coordinate.js'; import type {BlockSvg} from '../block_svg.js'; diff --git a/core/interfaces/i_bounded_element.ts b/core/interfaces/i_bounded_element.ts index d1edec75d..870d7b1e8 100644 --- a/core/interfaces/i_bounded_element.ts +++ b/core/interfaces/i_bounded_element.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a bounded element. - * - * @namespace Blockly.IBoundedElement - */ import * as goog from '../../closure/goog/goog.js'; import type {Rect} from '../utils/rect.js'; goog.declareModuleId('Blockly.IBoundedElement'); diff --git a/core/interfaces/i_bubble.ts b/core/interfaces/i_bubble.ts index eb27fdcc8..d8a1b686a 100644 --- a/core/interfaces/i_bubble.ts +++ b/core/interfaces/i_bubble.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a bubble. - * - * @namespace Blockly.IBubble - */ import * as goog from '../../closure/goog/goog.js'; import type {Coordinate} from '../utils/coordinate.js'; import type {BlockDragSurfaceSvg} from '../block_drag_surface.js'; diff --git a/core/interfaces/i_collapsible_toolbox_item.ts b/core/interfaces/i_collapsible_toolbox_item.ts index b6eabcf14..8e499e276 100644 --- a/core/interfaces/i_collapsible_toolbox_item.ts +++ b/core/interfaces/i_collapsible_toolbox_item.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a collapsible toolbox item. - * - * @namespace Blockly.ICollapsibleToolboxItem - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.ICollapsibleToolboxItem'); diff --git a/core/interfaces/i_component.ts b/core/interfaces/i_component.ts index 3d61f805b..3a55702fd 100644 --- a/core/interfaces/i_component.ts +++ b/core/interfaces/i_component.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Interface for a workspace component that can be registered with - * the ComponentManager. - * - * @namespace Blockly.IComponent - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IComponent'); diff --git a/core/interfaces/i_connection_checker.ts b/core/interfaces/i_connection_checker.ts index 5472aecd1..4384511cc 100644 --- a/core/interfaces/i_connection_checker.ts +++ b/core/interfaces/i_connection_checker.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for an object that encapsulates logic for - * checking whether a potential connection is safe and valid. - * - * @namespace Blockly.IConnectionChecker - */ import * as goog from '../../closure/goog/goog.js'; import type {Connection} from '../connection.js'; import type {RenderedConnection} from '../rendered_connection.js'; diff --git a/core/interfaces/i_contextmenu.ts b/core/interfaces/i_contextmenu.ts index f005fdbdd..f205e9e2e 100644 --- a/core/interfaces/i_contextmenu.ts +++ b/core/interfaces/i_contextmenu.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for an object that supports a right-click. - * - * @namespace Blockly.IContextMenu - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IContextMenu'); diff --git a/core/interfaces/i_copyable.ts b/core/interfaces/i_copyable.ts index 6204eeacc..cd3fe3678 100644 --- a/core/interfaces/i_copyable.ts +++ b/core/interfaces/i_copyable.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for an object that is copyable. - * - * @namespace Blockly.ICopyable - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.ICopyable'); diff --git a/core/interfaces/i_deletable.ts b/core/interfaces/i_deletable.ts index 507cdca33..3593dd878 100644 --- a/core/interfaces/i_deletable.ts +++ b/core/interfaces/i_deletable.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for an object that is deletable. - * - * @namespace Blockly.IDeletable - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IDeletable'); diff --git a/core/interfaces/i_delete_area.ts b/core/interfaces/i_delete_area.ts index 1c9a1d0d0..9a72ec779 100644 --- a/core/interfaces/i_delete_area.ts +++ b/core/interfaces/i_delete_area.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a component that can delete a block or bubble - * that is dropped on top of it. - * - * @namespace Blockly.IDeleteArea - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IDeleteArea'); diff --git a/core/interfaces/i_drag_target.ts b/core/interfaces/i_drag_target.ts index eef00dcd9..5d2ba2bb8 100644 --- a/core/interfaces/i_drag_target.ts +++ b/core/interfaces/i_drag_target.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a component that has a handler for when a - * block is dropped on top of it. - * - * @namespace Blockly.IDragTarget - */ import * as goog from '../../closure/goog/goog.js'; import {Rect} from '../utils/rect.js'; diff --git a/core/interfaces/i_draggable.ts b/core/interfaces/i_draggable.ts index f7a080949..49e6976ca 100644 --- a/core/interfaces/i_draggable.ts +++ b/core/interfaces/i_draggable.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for an object that is draggable. - * - * @namespace Blockly.IDraggable - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IDraggable'); diff --git a/core/interfaces/i_flyout.ts b/core/interfaces/i_flyout.ts index a5488c549..5f8503161 100644 --- a/core/interfaces/i_flyout.ts +++ b/core/interfaces/i_flyout.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a flyout. - * - * @namespace Blockly.IFlyout - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IFlyout'); diff --git a/core/interfaces/i_keyboard_accessible.ts b/core/interfaces/i_keyboard_accessible.ts index 2d48bad9c..aa00c4420 100644 --- a/core/interfaces/i_keyboard_accessible.ts +++ b/core/interfaces/i_keyboard_accessible.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for objects that handle keyboard shortcuts. - * - * @namespace Blockly.IKeyboardAccessible - */ import * as goog from '../../closure/goog/goog.js'; import {KeyboardShortcut} from '../shortcut_registry.js'; goog.declareModuleId('Blockly.IKeyboardAccessible'); diff --git a/core/interfaces/i_metrics_manager.ts b/core/interfaces/i_metrics_manager.ts index c60dc7f52..a3d28d0fa 100644 --- a/core/interfaces/i_metrics_manager.ts +++ b/core/interfaces/i_metrics_manager.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a metrics manager. - * - * @namespace Blockly.IMetricsManager - */ import * as goog from '../../closure/goog/goog.js'; import type {ContainerRegion, ToolboxMetrics, AbsoluteMetrics, UiMetrics} from '../metrics_manager.js'; import type {Size} from '../utils/size.js'; diff --git a/core/interfaces/i_movable.ts b/core/interfaces/i_movable.ts index a0c420a9b..2c249273a 100644 --- a/core/interfaces/i_movable.ts +++ b/core/interfaces/i_movable.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for an object that is movable. - * - * @namespace Blockly.IMovable - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IMovable'); diff --git a/core/interfaces/i_positionable.ts b/core/interfaces/i_positionable.ts index 73cc299b7..52ad96f90 100644 --- a/core/interfaces/i_positionable.ts +++ b/core/interfaces/i_positionable.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a positionable UI element. - * - * @namespace Blockly.IPositionable - */ import * as goog from '../../closure/goog/goog.js'; import type {Rect} from '../utils/rect.js'; import type {UiMetrics} from '../metrics_manager.js'; diff --git a/core/interfaces/i_procedure_model.ts b/core/interfaces/i_procedure_model.ts index 1950fff76..dffdc984e 100644 --- a/core/interfaces/i_procedure_model.ts +++ b/core/interfaces/i_procedure_model.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for the data model of a procedure. - * - * @namespace Blockly.IProcedureModel - */ import {IParameterModel} from './i_parameter_model.js'; diff --git a/core/interfaces/i_registrable.ts b/core/interfaces/i_registrable.ts index b43fff5d3..f95e3c559 100644 --- a/core/interfaces/i_registrable.ts +++ b/core/interfaces/i_registrable.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a Blockly component that can be registered. - * (Ex. Toolbox, Fields, Renderers) - * - * @namespace Blockly.IRegistrable - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IRegistrable'); diff --git a/core/interfaces/i_selectable.ts b/core/interfaces/i_selectable.ts index f76bdd969..0e99a5847 100644 --- a/core/interfaces/i_selectable.ts +++ b/core/interfaces/i_selectable.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for an object that is selectable. - * - * @namespace Blockly.ISelectable - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.ISelectable'); diff --git a/core/interfaces/i_selectable_toolbox_item.ts b/core/interfaces/i_selectable_toolbox_item.ts index b43c320b2..8f454372b 100644 --- a/core/interfaces/i_selectable_toolbox_item.ts +++ b/core/interfaces/i_selectable_toolbox_item.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a selectable toolbox item. - * - * @namespace Blockly.ISelectableToolboxItem - */ import * as goog from '../../closure/goog/goog.js'; import type {FlyoutItemInfoArray} from '../utils/toolbox'; goog.declareModuleId('Blockly.ISelectableToolboxItem'); diff --git a/core/interfaces/i_serializer.ts b/core/interfaces/i_serializer.ts index 495be1f1c..37efa4626 100644 --- a/core/interfaces/i_serializer.ts +++ b/core/interfaces/i_serializer.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The record type for an object containing functions for - * serializing part of the workspace. - * - * @namespace Blockly.serialization.ISerializer - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.serialization.ISerializer'); diff --git a/core/interfaces/i_styleable.ts b/core/interfaces/i_styleable.ts index f9554680e..86d9f2c00 100644 --- a/core/interfaces/i_styleable.ts +++ b/core/interfaces/i_styleable.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for an object that a style can be added to. - * - * @namespace Blockly.IStyleable - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IStyleable'); diff --git a/core/interfaces/i_toolbox.ts b/core/interfaces/i_toolbox.ts index 9e936a54a..cb4eeceb4 100644 --- a/core/interfaces/i_toolbox.ts +++ b/core/interfaces/i_toolbox.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a toolbox. - * - * @namespace Blockly.IToolbox - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IToolbox'); diff --git a/core/interfaces/i_toolbox_item.ts b/core/interfaces/i_toolbox_item.ts index 3c5344725..f7398acec 100644 --- a/core/interfaces/i_toolbox_item.ts +++ b/core/interfaces/i_toolbox_item.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The interface for a toolbox item. - * - * @namespace Blockly.IToolboxItem - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.IToolboxItem'); diff --git a/core/internal_constants.ts b/core/internal_constants.ts index 330d2662e..5d6a0340d 100644 --- a/core/internal_constants.ts +++ b/core/internal_constants.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Module that provides constants for use inside Blockly. Do not - * use these constants outside of the core library. - * - * @namespace Blockly.internalConstants - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.internalConstants'); diff --git a/core/msg.ts b/core/msg.ts index 39d05b0c5..50fdf3a8f 100644 --- a/core/msg.ts +++ b/core/msg.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Empty name space for the Message singleton. - * - * @namespace Blockly.Msg - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.Msg'); diff --git a/core/positionable_helpers.ts b/core/positionable_helpers.ts index 34d1ef97a..b0967c48d 100644 --- a/core/positionable_helpers.ts +++ b/core/positionable_helpers.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility functions for positioning UI elements. - * - * @namespace Blockly.uiPosition - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.uiPosition'); diff --git a/core/procedures.ts b/core/procedures.ts index 3dfe87601..1bc1d9d80 100644 --- a/core/procedures.ts +++ b/core/procedures.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility functions for handling procedures. - * - * @namespace Blockly.Procedures - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.Procedures'); diff --git a/core/registry.ts b/core/registry.ts index f99ded7bf..32abc14d7 100644 --- a/core/registry.ts +++ b/core/registry.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * This file is a universal registry that provides generic methods - * for registering and unregistering different types of classes. - * - * @namespace Blockly.registry - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.registry'); diff --git a/core/serialization/blocks.ts b/core/serialization/blocks.ts index 2152a12d1..e9bb0bd0c 100644 --- a/core/serialization/blocks.ts +++ b/core/serialization/blocks.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Handles serializing blocks to plain JavaScript objects only containing state. - * - * @namespace Blockly.serialization.blocks - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.serialization.blocks'); diff --git a/core/serialization/exceptions.ts b/core/serialization/exceptions.ts index 506c83063..ff720f1bd 100644 --- a/core/serialization/exceptions.ts +++ b/core/serialization/exceptions.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Contains custom errors thrown by the serialization system. - * - * @namespace Blockly.serialization.exceptions - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.serialization.exceptions'); diff --git a/core/serialization/priorities.ts b/core/serialization/priorities.ts index 03d053279..27eda2e8a 100644 --- a/core/serialization/priorities.ts +++ b/core/serialization/priorities.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * The top level namespace for priorities of plugin serializers. - * Includes constants for the priorities of different plugin serializers. Higher - * priorities are deserialized first. - * - * @namespace Blockly.serialization.priorities - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.serialization.priorities'); diff --git a/core/serialization/registry.ts b/core/serialization/registry.ts index b57030751..2d680717e 100644 --- a/core/serialization/registry.ts +++ b/core/serialization/registry.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Contains functions registering serializers (eg blocks, variables, plugins, - * etc). - * - * @namespace Blockly.serialization.registry - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.serialization.registry'); diff --git a/core/serialization/variables.ts b/core/serialization/variables.ts index 3259763ac..f50433f36 100644 --- a/core/serialization/variables.ts +++ b/core/serialization/variables.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Handles serializing variables to plain JavaScript objects, only containing - * state. - * - * @namespace Blockly.serialization.variables - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.serialization.variables'); diff --git a/core/serialization/workspaces.ts b/core/serialization/workspaces.ts index 378d12a61..a6896e9d3 100644 --- a/core/serialization/workspaces.ts +++ b/core/serialization/workspaces.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Contains top-level functions for serializing workspaces to plain JavaScript - * objects. - * - * @namespace Blockly.serialization.workspaces - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.serialization.workspaces'); diff --git a/core/shortcut_items.ts b/core/shortcut_items.ts index 936ae4f5c..d07d1fbe5 100644 --- a/core/shortcut_items.ts +++ b/core/shortcut_items.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Registers default keyboard shortcuts. - * - * @namespace Blockly.ShortcutItems - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.ShortcutItems'); diff --git a/core/theme/classic.ts b/core/theme/classic.ts index 8c0bd3755..706964f8c 100644 --- a/core/theme/classic.ts +++ b/core/theme/classic.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Classic theme. - * Contains multi-coloured border to create shadow effect. - * - * @namespace Blockly.Themes.Classic - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.Themes.Classic'); diff --git a/core/theme/themes.ts b/core/theme/themes.ts index 576b1ad43..157133484 100644 --- a/core/theme/themes.ts +++ b/core/theme/themes.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Namespace for themes. - * - * @namespace Blockly.Themes - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.Themes'); diff --git a/core/theme/zelos.ts b/core/theme/zelos.ts index 66c85d9a0..f4bffe64c 100644 --- a/core/theme/zelos.ts +++ b/core/theme/zelos.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Zelos theme. - * - * @namespace Blockly.Themes.Zelos - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.Themes.Zelos'); diff --git a/core/tooltip.ts b/core/tooltip.ts index e907561a4..1eb608a83 100644 --- a/core/tooltip.ts +++ b/core/tooltip.ts @@ -4,16 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Library to create tooltips for Blockly. - * First, call createDom() after onload. - * Second, set the 'tooltip' property on any SVG element that needs a tooltip. - * If the tooltip is a string, or a function that returns a string, that message - * will be displayed. If the tooltip is an SVG element, then that object's - * tooltip will be used. Third, call bindMouseEvents(e) passing the SVG element. - * - * @namespace Blockly.Tooltip - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.Tooltip'); diff --git a/core/touch.ts b/core/touch.ts index f8be51c60..9de586c44 100644 --- a/core/touch.ts +++ b/core/touch.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Touch handling for Blockly. - * - * @namespace Blockly.Touch - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.Touch'); diff --git a/core/utils.ts b/core/utils.ts index e8eb87fea..cb03341f0 100644 --- a/core/utils.ts +++ b/core/utils.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility methods. - * - * @namespace Blockly.utils - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils'); diff --git a/core/utils/aria.ts b/core/utils/aria.ts index e31951d8a..e43190709 100644 --- a/core/utils/aria.ts +++ b/core/utils/aria.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * ARIA-related constants and utilities. - * These methods are not specific to Blockly, and could be factored out into - * a JavaScript framework such as Closure. - * - * @namespace Blockly.utils.aria - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.aria'); diff --git a/core/utils/array.ts b/core/utils/array.ts index dbf1b6467..faee551e4 100644 --- a/core/utils/array.ts +++ b/core/utils/array.ts @@ -4,7 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** @namespace Blockly.utils.array */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.array'); diff --git a/core/utils/colour.ts b/core/utils/colour.ts index d98c1fed7..0e9d91017 100644 --- a/core/utils/colour.ts +++ b/core/utils/colour.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility methods for colour manipulation. - * - * @namespace Blockly.utils.colour - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.colour'); diff --git a/core/utils/deprecation.ts b/core/utils/deprecation.ts index 0492c6423..b09e5bc6a 100644 --- a/core/utils/deprecation.ts +++ b/core/utils/deprecation.ts @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Helper function for warning developers about deprecations. - * This method is not specific to Blockly. - * - * @namespace Blockly.utils.deprecation - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.deprecation'); diff --git a/core/utils/dom.ts b/core/utils/dom.ts index b6ca84eda..363000480 100644 --- a/core/utils/dom.ts +++ b/core/utils/dom.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility methods for DOM manipulation. - * These methods are not specific to Blockly, and could be factored out into - * a JavaScript framework such as Closure. - * - * @namespace Blockly.utils.dom - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.dom'); diff --git a/core/utils/idgenerator.ts b/core/utils/idgenerator.ts index 1e5461292..3f7d66f5a 100644 --- a/core/utils/idgenerator.ts +++ b/core/utils/idgenerator.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Generators for unique IDs. - * - * @namespace Blockly.utils.idGenerator - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.idGenerator'); diff --git a/core/utils/keycodes.ts b/core/utils/keycodes.ts index d96e72ee5..b6e4baf63 100644 --- a/core/utils/keycodes.ts +++ b/core/utils/keycodes.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Constant declarations for common key codes. - * These methods are not specific to Blockly, and could be factored out into - * a JavaScript framework such as Closure. - * - * @namespace Blockly.utils.KeyCodes - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.KeyCodes'); diff --git a/core/utils/math.ts b/core/utils/math.ts index 7dbef74e6..1704c3ae3 100644 --- a/core/utils/math.ts +++ b/core/utils/math.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility methods for math. - * These methods are not specific to Blockly, and could be factored out into - * a JavaScript framework such as Closure. - * - * @namespace Blockly.utils.math - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.math'); diff --git a/core/utils/metrics.ts b/core/utils/metrics.ts index 04dc9b366..d83e2b8a0 100644 --- a/core/utils/metrics.ts +++ b/core/utils/metrics.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Workspace metrics definitions. - * - * @namespace Blockly.utils.Metrics - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.Metrics'); diff --git a/core/utils/object.ts b/core/utils/object.ts index 2467b8abc..a36ea18c2 100644 --- a/core/utils/object.ts +++ b/core/utils/object.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility methods for objects. - * - * @namespace Blockly.utils.object - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.object'); diff --git a/core/utils/parsing.ts b/core/utils/parsing.ts index 4badd77ff..bd5160cf3 100644 --- a/core/utils/parsing.ts +++ b/core/utils/parsing.ts @@ -4,9 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * @namespace Blockly.utils.parsing - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.parsing'); diff --git a/core/utils/string.ts b/core/utils/string.ts index ece17bf01..f7d8e8540 100644 --- a/core/utils/string.ts +++ b/core/utils/string.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility methods for string manipulation. - * These methods are not specific to Blockly, and could be factored out into - * a JavaScript framework such as Closure. - * - * @namespace Blockly.utils.string - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.string'); diff --git a/core/utils/style.ts b/core/utils/style.ts index 11c6fa232..7c53079bd 100644 --- a/core/utils/style.ts +++ b/core/utils/style.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utilities for element styles. - * These methods are not specific to Blockly, and could be factored out into - * a JavaScript framework such as Closure. - * - * @namespace Blockly.utils.style - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.style'); diff --git a/core/utils/svg_math.ts b/core/utils/svg_math.ts index 8fdb1e393..2ab1dca63 100644 --- a/core/utils/svg_math.ts +++ b/core/utils/svg_math.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility methods realted to figuring out positions of SVG elements. - * - * @namespace Blockly.utils.svgMath - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.svgMath'); diff --git a/core/utils/svg_paths.ts b/core/utils/svg_paths.ts index 6c9707c47..ee7dd8d9c 100644 --- a/core/utils/svg_paths.ts +++ b/core/utils/svg_paths.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Methods for creating parts of SVG path strings. See - * - * @namespace Blockly.utils.svgPaths - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.svgPaths'); diff --git a/core/utils/toolbox.ts b/core/utils/toolbox.ts index e8b8283aa..0f6ecddac 100644 --- a/core/utils/toolbox.ts +++ b/core/utils/toolbox.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility functions for the toolbox and flyout. - * - * @namespace Blockly.utils.toolbox - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.toolbox'); diff --git a/core/utils/useragent.ts b/core/utils/useragent.ts index 59808af1b..386c99965 100644 --- a/core/utils/useragent.ts +++ b/core/utils/useragent.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Useragent detection. - * These methods are not specific to Blockly, and could be factored out into - * a JavaScript framework such as Closure. - * - * @namespace Blockly.utils.userAgent - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.userAgent'); diff --git a/core/utils/xml.ts b/core/utils/xml.ts index 383fc60ea..a02f1a8d6 100644 --- a/core/utils/xml.ts +++ b/core/utils/xml.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * XML element manipulation. - * These methods are not specific to Blockly, and could be factored out into - * a JavaScript framework such as Closure. - * - * @namespace Blockly.utils.xml - */ import * as goog from '../../closure/goog/goog.js'; goog.declareModuleId('Blockly.utils.xml'); diff --git a/core/variables.ts b/core/variables.ts index 99a2d7793..901572bb0 100644 --- a/core/variables.ts +++ b/core/variables.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility functions for handling variables. - * - * @namespace Blockly.Variables - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.Variables'); diff --git a/core/variables_dynamic.ts b/core/variables_dynamic.ts index 500cbec41..da3b797aa 100644 --- a/core/variables_dynamic.ts +++ b/core/variables_dynamic.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * Utility functions for handling typed variables. - * - * @namespace Blockly.VariablesDynamic - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.VariablesDynamic'); diff --git a/core/widgetdiv.ts b/core/widgetdiv.ts index 9a24540ac..0c5f1615d 100644 --- a/core/widgetdiv.ts +++ b/core/widgetdiv.ts @@ -4,13 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * A div that floats on top of Blockly. This singleton contains - * temporary HTML UI widgets that the user is currently interacting with. - * E.g. text input areas, colour pickers, context menus. - * - * @namespace Blockly.WidgetDiv - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.WidgetDiv'); diff --git a/core/xml.ts b/core/xml.ts index bf54caf4a..ffc2f2bfc 100644 --- a/core/xml.ts +++ b/core/xml.ts @@ -4,11 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/** - * XML reader and writer. - * - * @namespace Blockly.Xml - */ import * as goog from '../closure/goog/goog.js'; goog.declareModuleId('Blockly.Xml');