chore: remove all namespace comments (#6903)

* chore: remove all namespace comments

* chore: fix lint
This commit is contained in:
Beka Westberg
2023-03-20 09:43:58 -07:00
committed by GitHub
parent 5cdd2bf65f
commit ed531ec313
91 changed files with 0 additions and 494 deletions

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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';

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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';

View File

@@ -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');

View File

@@ -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';

View File

@@ -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');

View File

@@ -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');

View File

@@ -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';

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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';

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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';

View File

@@ -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');

View File

@@ -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';

View File

@@ -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';

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');