mirror of
https://github.com/google/blockly.git
synced 2026-05-08 21:20:12 +02:00
chore: remove declareModuleId
This commit is contained in:
+1
-2
@@ -12,8 +12,7 @@
|
||||
* The class representing one block.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Block');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './events/events_block_change';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Methods animating a block on connection and disconnection.
|
||||
* @namespace Blockly.blockAnimations
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.blockAnimations');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {BlockSvg} from './block_svg';
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* while dragging blocks.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.BlockDragSurfaceSvg');
|
||||
|
||||
|
||||
import {Coordinate} from './utils/coordinate';
|
||||
import * as dom from './utils/dom';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Methods for dragging a block visually.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.BlockDragger');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './events/events_block_drag';
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Methods for graphically rendering a block as SVG.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.BlockSvg');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* The top level namespace used to access the Blockly library.
|
||||
* @namespace Blockly
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './events/events_block_create';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Object that defines user-specified options for the workspace.
|
||||
* @namespace Blockly.BlocklyOptions
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.BlocklyOptions');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* A mapping of block type names to block prototype objects.
|
||||
* @namespace Blockly.blocks
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.blocks');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Browser event handling.
|
||||
* @namespace Blockly.browserEvents
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.browserEvents');
|
||||
|
||||
|
||||
import * as Touch from './touch';
|
||||
import * as userAgent from './utils/useragent';
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Object representing a UI bubble.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Bubble');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Methods for dragging a bubble visually.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.BubbleDragger');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './bubble';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Utilities for bumping objects back into worksapce bounds.
|
||||
* @namespace Blockly.bumpObjects
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.bumpObjects');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {BlockSvg} from './block_svg';
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Blockly's internal clipboard for managing copy-paste.
|
||||
* @namespace Blockly.clipboard
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.clipboard');
|
||||
|
||||
|
||||
import {CopyData, ICopyable} from './interfaces/i_copyable';
|
||||
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Object representing a code comment.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Comment');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
|
||||
+1
-2
@@ -14,8 +14,7 @@
|
||||
* must not be at the top level to avoid circular dependencies.
|
||||
* @namespace Blockly.common
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.common');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Manager for all items registered with the workspace.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.ComponentManager');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {IAutoHideable} from './interfaces/i_autohideable';
|
||||
|
||||
+1
-2
@@ -16,8 +16,7 @@
|
||||
* generally recommended.
|
||||
* @namespace Blockly.config
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.config');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Components for creating connections between blocks.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Connection');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './constants';
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
* potential connection is safe and valid.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.ConnectionChecker');
|
||||
|
||||
|
||||
import * as common from './common';
|
||||
import {Connection} from './connection';
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
* Sorted by y coordinate.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.ConnectionDB');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './constants';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* An enum for the possible types of connections.
|
||||
* @namespace Blockly.ConnectionType
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.ConnectionType');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Blockly constants.
|
||||
* @namespace Blockly.constants
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.constants');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Functionality for the right-click context menus.
|
||||
* @namespace Blockly.ContextMenu
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.ContextMenu');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from './block';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Registers default context menu items.
|
||||
* @namespace Blockly.ContextMenuItems
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.ContextMenuItems');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {BlockSvg} from './block_svg';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Registry for context menu option items.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.ContextMenuRegistry');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {BlockSvg} from './block_svg';
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Inject Blockly's CSS synchronously.
|
||||
* @namespace Blockly.Css
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Css');
|
||||
|
||||
|
||||
import * as deprecation from './utils/deprecation';
|
||||
|
||||
|
||||
+1
-2
@@ -14,8 +14,7 @@
|
||||
* bubble that is dropped on top of it.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.DeleteArea');
|
||||
|
||||
|
||||
import {BlockSvg} from './block_svg';
|
||||
import {DragTarget} from './drag_target';
|
||||
|
||||
+1
-2
@@ -13,8 +13,7 @@
|
||||
* Wrapper functions around JS functions for showing alert/confirmation dialogs.
|
||||
* @namespace Blockly.dialog
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.dialog');
|
||||
|
||||
|
||||
|
||||
let alertImplementation = function(
|
||||
|
||||
+1
-2
@@ -14,8 +14,7 @@
|
||||
* block or bubble is dragged over or dropped on top of it.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.DragTarget');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {IDragTarget} from './interfaces/i_drag_target';
|
||||
|
||||
+1
-2
@@ -14,8 +14,7 @@
|
||||
* A div that floats on top of the workspace, for drop-down menus.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.dropDownDiv');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {BlockSvg} from './block_svg';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Events fired as a result of actions in Blockly's editor.
|
||||
* @namespace Blockly.Events
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events');
|
||||
|
||||
|
||||
import {Abstract as AbstractEvent} from './events_abstract';
|
||||
import {BlockBase} from './events_block_base';
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
* Blockly's editor.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.Abstract');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Workspace} from '../workspace';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Base class for all types of block events.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.BlockBase');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from '../block';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for a block change event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.BlockChange');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from '../block';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for a block creation event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.BlockCreate');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from '../block';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for a block delete event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.BlockDelete');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from '../block';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Events fired as a block drag.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.BlockDrag');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from '../block';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for a block move event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.BlockMove');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from '../block';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Events fired as a result of bubble open.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.BubbleOpen');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {BlockSvg} from '../block_svg';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Events fired as a result of UI click in Blockly's editor.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.Click');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from '../block';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Base class for comment events.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.CommentBase');
|
||||
|
||||
|
||||
import * as utilsXml from '../utils/xml';
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for comment change event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.CommentChange');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for comment creation event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.CommentCreate');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for comment deletion event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.CommentDelete');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for comment move event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.CommentMove');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
import {Coordinate} from '../utils/coordinate';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Events fired as a result of a marker move.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.MarkerMove');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from '../block';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Events fired as a result of element select action.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.Selected');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Events fired as a result of a theme update.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.ThemeChange');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Events fired as a result of selecting an item on the toolbox.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.ToolboxItemSelect');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Events fired as a result of trashcan flyout open and close.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.TrashcanOpen');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
* Blockly's editor.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.Ui');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from '../block';
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
* Blockly's editor.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.UiBase');
|
||||
|
||||
|
||||
import {Abstract as AbstractEvent} from './events_abstract';
|
||||
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Abstract class for a variable event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.VarBase');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {VariableModel} from '../variable_model';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for a variable creation event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.VarCreate');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Classes for all types of variable events.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.VarDelete');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for a variable rename event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.VarRename');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Events fired as a result of a viewport change.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.ViewportChange');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
* actions in Blockly's editor.
|
||||
* @namespace Blockly.Events.utils
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.utils');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from '../block';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for a finished loading workspace event.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Events.FinishedLoading');
|
||||
|
||||
|
||||
import * as registry from '../registry';
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
+1
-2
@@ -18,8 +18,7 @@
|
||||
* array attribute.
|
||||
* @namespace Blockly.Extensions
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Extensions');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './mutator';
|
||||
|
||||
+1
-2
@@ -16,8 +16,7 @@
|
||||
* instances would be FieldTextInput, FieldDropdown, etc.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Field');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Angle input field.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FieldAngle');
|
||||
|
||||
|
||||
import {BlockSvg} from './block_svg';
|
||||
import * as browserEvents from './browser_events';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Checkbox field. Checked or not checked.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FieldCheckbox');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './events/events_block_change';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Colour input field.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FieldColour');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './events/events_block_change';
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
* properties with the context menu.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FieldDropdown');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {BlockSvg} from './block_svg';
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Image field. Used for pictures, icons, etc.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FieldImage');
|
||||
|
||||
|
||||
import {Field} from './field';
|
||||
import * as fieldRegistry from './field_registry';
|
||||
|
||||
+1
-2
@@ -14,8 +14,7 @@
|
||||
* labels, etc.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FieldLabel');
|
||||
|
||||
|
||||
import {Field} from './field';
|
||||
import * as fieldRegistry from './field_registry';
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
* edited programmatically.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FieldLabelSerializable');
|
||||
|
||||
|
||||
import {FieldLabel} from './field_label';
|
||||
import * as fieldRegistry from './field_registry';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Text Area field.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FieldMultilineInput');
|
||||
|
||||
|
||||
import * as Css from './css';
|
||||
import {Field} from './field';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Number input field
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FieldNumber');
|
||||
|
||||
|
||||
import {Field} from './field';
|
||||
import * as fieldRegistry from './field_registry';
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
* fields based on JSON.
|
||||
* @namespace Blockly.fieldRegistry
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.fieldRegistry');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Field} from './field';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Text input field.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FieldTextInput');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './events/events_block_change';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Variable input field.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FieldVariable');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './events/events_block_change';
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Flyout tray containing blocks which may be created.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Flyout');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from './block';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class for a button in the flyout.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FlyoutButton');
|
||||
|
||||
|
||||
import * as browserEvents from './browser_events';
|
||||
import * as Css from './css';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Horizontal flyout tray containing blocks which may be created.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.HorizontalFlyout');
|
||||
|
||||
|
||||
import * as browserEvents from './browser_events';
|
||||
import * as dropDownDiv from './dropdowndiv';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Calculates and reports flyout workspace metrics.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.FlyoutMetricsManager');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {IFlyout} from './interfaces/i_flyout';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Layout code for a vertical variant of the flyout.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.VerticalFlyout');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './block';
|
||||
|
||||
+1
-2
@@ -14,8 +14,7 @@
|
||||
* Blockly code.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Generator');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {Block} from './block';
|
||||
|
||||
+1
-2
@@ -14,8 +14,7 @@
|
||||
* or a tap.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Gesture');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './block_dragger';
|
||||
|
||||
+1
-2
@@ -14,8 +14,7 @@
|
||||
* Blockly.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Grid');
|
||||
|
||||
|
||||
import * as dom from './utils/dom';
|
||||
import {Svg} from './utils/svg';
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Object representing an icon on a block.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Icon');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {BlockSvg} from './block_svg';
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Functions for injecting Blockly into a web page.
|
||||
* @namespace Blockly.inject
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.inject');
|
||||
|
||||
|
||||
import {BlockDragSurfaceSvg} from './block_drag_surface';
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* Object representing an input (value, statement, or dummy).
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.Input');
|
||||
|
||||
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
import './field_label';
|
||||
|
||||
+1
-2
@@ -12,8 +12,7 @@
|
||||
* An enum for the possible types of inputs.
|
||||
* @namespace Blockly.inputTypes
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.inputTypes');
|
||||
|
||||
|
||||
import {ConnectionType} from './connection_type';
|
||||
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* Class that controls updates to connections during drags.
|
||||
* @class
|
||||
*/
|
||||
import * as goog from '../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.InsertionMarkerManager');
|
||||
|
||||
|
||||
import * as blockAnimations from './block_animations';
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* The interface for an AST node location.
|
||||
* @namespace Blockly.IASTNodeLocation
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IASTNodeLocation');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* The interface for an AST node location SVG.
|
||||
* @namespace Blockly.IASTNodeLocationSvg
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IASTNodeLocationSvg');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {IASTNodeLocation} from './i_ast_node_location';
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
* block.
|
||||
* @namespace Blockly.IASTNodeLocationWithBlock
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IASTNodeLocationWithBlock');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
* when WorkspaceSvg.hideChaff is called.
|
||||
* @namespace Blockly.IAutoHideable
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IAutoHideable');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
import {IComponent} from './i_component';
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* The interface for a block dragger.
|
||||
* @namespace Blockly.IBlockDragger
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IBlockDragger');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* The interface for a bounded element.
|
||||
* @namespace Blockly.IBoundedElement
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IBoundedElement');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* The interface for a bubble.
|
||||
* @namespace Blockly.IBubble
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IBubble');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* The interface for a collapsible toolbox item.
|
||||
* @namespace Blockly.ICollapsibleToolboxItem
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.ICollapsibleToolboxItem');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
* the ComponentManager.
|
||||
* @namespace Blockly.IComponent
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IComponent');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
* checking whether a potential connection is safe and valid.
|
||||
* @namespace Blockly.IConnectionChecker
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IConnectionChecker');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
// Unused import preserved for side-effects. Remove if unneeded.
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* The interface for an object that supports a right-click.
|
||||
* @namespace Blockly.IContextMenu
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IContextMenu');
|
||||
|
||||
|
||||
|
||||
/** @alias Blockly.IContextMenu */
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* The interface for an object that is copyable.
|
||||
* @namespace Blockly.ICopyable
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.ICopyable');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* The interface for an object that is deletable.
|
||||
* @namespace Blockly.IDeletable
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IDeletable');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
* that is dropped on top of it.
|
||||
* @namespace Blockly.IDeleteArea
|
||||
*/
|
||||
import * as goog from '../../closure/goog/goog';
|
||||
goog.declareModuleId('Blockly.IDeleteArea');
|
||||
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user