Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* The class representing one block.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.Block');

// Unused import preserved for side-effects. Remove if unneeded.
Expand Down
1 change: 1 addition & 0 deletions core/block_animations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Methods animating a block on connection and disconnection.
* @namespace Blockly.blockAnimations
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.blockAnimations');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/block_drag_surface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* while dragging blocks.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.BlockDragSurfaceSvg');

import {Coordinate} from './utils/coordinate.js';
Expand Down
1 change: 1 addition & 0 deletions core/block_dragger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Methods for dragging a block visually.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.BlockDragger');

// Unused import preserved for side-effects. Remove if unneeded.
Expand Down
1 change: 1 addition & 0 deletions core/block_svg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Methods for graphically rendering a block as SVG.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.BlockSvg');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/blockly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* The top level namespace used to access the Blockly library.
* @namespace Blockly
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly');

// Unused import preserved for side-effects. Remove if unneeded.
Expand Down
1 change: 1 addition & 0 deletions core/blockly_options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Object that defines user-specified options for the workspace.
* @namespace Blockly.BlocklyOptions
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.BlocklyOptions');


Expand Down
1 change: 1 addition & 0 deletions core/blocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* 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');


Expand Down
1 change: 1 addition & 0 deletions core/browser_events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Browser event handling.
* @namespace Blockly.browserEvents
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.browserEvents');

import * as Touch from './touch.js';
Expand Down
1 change: 1 addition & 0 deletions core/bubble.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Object representing a UI bubble.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.Bubble');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/bubble_dragger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Methods for dragging a bubble visually.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.BubbleDragger');

// Unused import preserved for side-effects. Remove if unneeded.
Expand Down
1 change: 1 addition & 0 deletions core/bump_objects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Utilities for bumping objects back into worksapce bounds.
* @namespace Blockly.bumpObjects
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.bumpObjects');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/clipboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Blockly's internal clipboard for managing copy-paste.
* @namespace Blockly.clipboard
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.clipboard');

import {CopyData, ICopyable} from './interfaces/i_copyable.js';
Expand Down
1 change: 1 addition & 0 deletions core/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Object representing a code comment.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.Comment');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* 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');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/component_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Manager for all items registered with the workspace.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.ComponentManager');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* generally recommended.
* @namespace Blockly.config
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.config');

/**
Expand Down
1 change: 1 addition & 0 deletions core/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Components for creating connections between blocks.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.Connection');

// Unused import preserved for side-effects. Remove if unneeded.
Expand Down
1 change: 1 addition & 0 deletions core/connection_checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* potential connection is safe and valid.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.ConnectionChecker');

import * as common from './common.js';
Expand Down
1 change: 1 addition & 0 deletions core/connection_db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* Sorted by y coordinate.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.ConnectionDB');

// Unused import preserved for side-effects. Remove if unneeded.
Expand Down
1 change: 1 addition & 0 deletions core/connection_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* An enum for the possible types of connections.
* @namespace Blockly.ConnectionType
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.ConnectionType');


Expand Down
1 change: 1 addition & 0 deletions core/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Blockly constants.
* @namespace Blockly.constants
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.constants');


Expand Down
1 change: 1 addition & 0 deletions core/contextmenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Functionality for the right-click context menus.
* @namespace Blockly.ContextMenu
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.ContextMenu');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/contextmenu_items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Registers default context menu items.
* @namespace Blockly.ContextMenuItems
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.ContextMenuItems');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/contextmenu_registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Registry for context menu option items.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.ContextMenuRegistry');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Inject Blockly's CSS synchronously.
* @namespace Blockly.Css
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.Css');

import * as deprecation from './utils/deprecation.js';
Expand Down
1 change: 1 addition & 0 deletions core/delete_area.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* bubble that is dropped on top of it.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.DeleteArea');

import {BlockSvg} from './block_svg.js';
Expand Down
1 change: 1 addition & 0 deletions core/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* 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');

let alertImplementation = function(
Expand Down
1 change: 1 addition & 0 deletions core/drag_target.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* block or bubble is dragged over or dropped on top of it.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.DragTarget');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/dropdowndiv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* A div that floats on top of the workspace, for drop-down menus.
* @class
*/
import * as goog from '../closure/goog/goog.js';
goog.declareModuleId('Blockly.dropDownDiv');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/events/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* 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');

import * as deprecation from '../utils/deprecation.js';
Expand Down
1 change: 1 addition & 0 deletions core/events/events_abstract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* Blockly's editor.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.Abstract');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/events/events_block_base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Base class for all types of block events.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.BlockBase');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/events/events_block_change.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Class for a block change event.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.BlockChange');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/events/events_block_create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Class for a block creation event.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.BlockCreate');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/events/events_block_delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Class for a block delete event.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.BlockDelete');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/events/events_block_drag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Events fired as a block drag.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.BlockDrag');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/events/events_block_move.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Class for a block move event.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.BlockMove');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/events/events_bubble_open.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Events fired as a result of bubble open.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.BubbleOpen');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/events/events_click.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Events fired as a result of UI click in Blockly's editor.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.Click');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/events/events_comment_base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Base class for comment events.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.CommentBase');

import * as utilsXml from '../utils/xml.js';
Expand Down
1 change: 1 addition & 0 deletions core/events/events_comment_change.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Class for comment change event.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.CommentChange');

import * as registry from '../registry.js';
Expand Down
1 change: 1 addition & 0 deletions core/events/events_comment_create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Class for comment creation event.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.CommentCreate');

import * as registry from '../registry.js';
Expand Down
1 change: 1 addition & 0 deletions core/events/events_comment_delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Class for comment deletion event.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.CommentDelete');

import * as registry from '../registry.js';
Expand Down
1 change: 1 addition & 0 deletions core/events/events_comment_move.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Class for comment move event.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.CommentMove');

import * as registry from '../registry.js';
Expand Down
1 change: 1 addition & 0 deletions core/events/events_marker_move.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Events fired as a result of a marker move.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.MarkerMove');

/* eslint-disable-next-line no-unused-vars */
Expand Down
1 change: 1 addition & 0 deletions core/events/events_selected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Events fired as a result of element select action.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.Selected');

import * as registry from '../registry.js';
Expand Down
1 change: 1 addition & 0 deletions core/events/events_theme_change.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Events fired as a result of a theme update.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.ThemeChange');

import * as registry from '../registry.js';
Expand Down
1 change: 1 addition & 0 deletions core/events/events_toolbox_item_select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Events fired as a result of selecting an item on the toolbox.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.ToolboxItemSelect');

import * as registry from '../registry.js';
Expand Down
1 change: 1 addition & 0 deletions core/events/events_trashcan_open.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Events fired as a result of trashcan flyout open and close.
* @class
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.Events.TrashcanOpen');

import * as registry from '../registry.js';
Expand Down
Loading