diff --git a/core/blockly.js b/core/blockly.js index 30d5378e8..77f1380f8 100644 --- a/core/blockly.js +++ b/core/blockly.js @@ -55,11 +55,37 @@ const Generator = goog.require('Blockly.Generator'); const Gesture = goog.require('Blockly.Gesture'); const Grid = goog.require('Blockly.Grid'); const HorizontalFlyout = goog.require('Blockly.HorizontalFlyout'); +const IASTNodeLocation = goog.require('Blockly.IASTNodeLocation'); +const IASTNodeLocationSvg = goog.require('Blockly.IASTNodeLocationSvg'); +const IASTNodeLocationWithBlock = goog.require('Blockly.IASTNodeLocationWithBlock'); +const IAutoHideable = goog.require('Blockly.IAutoHideable'); +const IBlockDragger = goog.require('Blockly.IBlockDragger'); +const IBoundedElement = goog.require('Blockly.IBoundedElement'); +const IBubble = goog.require('Blockly.IBubble'); +const ICollapsibleToolboxItem = goog.require('Blockly.ICollapsibleToolboxItem'); +const IComponent = goog.require('Blockly.IComponent'); +const IConnectionChecker = goog.require('Blockly.IConnectionChecker'); +const IContextMenu = goog.require('Blockly.IContextMenu'); const Icon = goog.require('Blockly.Icon'); -/* eslint-disable-next-line no-unused-vars */ -const ICopyable = goog.requireType('Blockly.ICopyable'); +const ICopyable = goog.require('Blockly.ICopyable'); +const IDeletable = goog.require('Blockly.IDeletable'); +const IDeleteArea = goog.require('Blockly.IDeleteArea'); +const IDragTarget = goog.require('Blockly.IDragTarget'); +const IDraggable = goog.require('Blockly.IDraggable'); +const IFlyout = goog.require('Blockly.IFlyout'); +const IKeyboardAccessible = goog.require('Blockly.IKeyboardAccessible'); +const IMetricsManager = goog.require('Blockly.IMetricsManager'); +const IMovable = goog.require('Blockly.IMovable'); const Input = goog.require('Blockly.Input'); const InsertionMarkerManager = goog.require('Blockly.InsertionMarkerManager'); +const IPositionable = goog.require('Blockly.IPositionable'); +const IRegistrable = goog.require('Blockly.IRegistrable'); +const IRegistrableField = goog.require('Blockly.IRegistrableField'); +const ISelectable = goog.require('Blockly.ISelectable'); +const ISelectableToolboxItem = goog.require('Blockly.ISelectableToolboxItem'); +const IStyleable = goog.require('Blockly.IStyleable'); +const IToolbox = goog.require('Blockly.IToolbox'); +const IToolboxItem = goog.require('Blockly.IToolboxItem'); const Marker = goog.require('Blockly.Marker'); const MarkerManager = goog.require('Blockly.MarkerManager'); const Menu = goog.require('Blockly.Menu'); @@ -550,9 +576,37 @@ exports.Generator = Generator; exports.Gesture = Gesture; exports.Grid = Grid; exports.HorizontalFlyout = HorizontalFlyout; +exports.IASTNodeLocation = IASTNodeLocation; +exports.IASTNodeLocationSvg = IASTNodeLocationSvg; +exports.IASTNodeLocationWithBlock = IASTNodeLocationWithBlock; +exports.IAutoHideable = IAutoHideable; +exports.IBlockDragger = IBlockDragger; +exports.IBoundedElement = IBoundedElement; +exports.IBubble = IBubble; +exports.ICollapsibleToolboxItem = ICollapsibleToolboxItem; +exports.IComponent = IComponent; +exports.IConnectionChecker = IConnectionChecker; +exports.IContextMenu = IContextMenu; exports.Icon = Icon; +exports.ICopyable = ICopyable; +exports.IDeletable = IDeletable; +exports.IDeleteArea = IDeleteArea; +exports.IDragTarget = IDragTarget; +exports.IDraggable = IDraggable; +exports.IFlyout = IFlyout; +exports.IKeyboardAccessible = IKeyboardAccessible; +exports.IMetricsManager = IMetricsManager; +exports.IMovable = IMovable; exports.Input = Input; exports.InsertionMarkerManager = InsertionMarkerManager; +exports.IPositionable = IPositionable; +exports.IRegistrable = IRegistrable; +exports.IRegistrableField = IRegistrableField; +exports.ISelectable = ISelectable; +exports.ISelectableToolboxItem = ISelectableToolboxItem; +exports.IStyleable = IStyleable; +exports.IToolbox = IToolbox; +exports.IToolboxItem = IToolboxItem; exports.Marker = Marker; exports.MarkerManager = MarkerManager; exports.Menu = Menu; diff --git a/core/interfaces/i_ast_node_location.js b/core/interfaces/i_ast_node_location.js index 0ebec8ebd..ddf987c5d 100644 --- a/core/interfaces/i_ast_node_location.js +++ b/core/interfaces/i_ast_node_location.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IASTNodeLocation'); -goog.module.declareLegacyNamespace(); /** * An AST node location interface. diff --git a/core/interfaces/i_ast_node_location_svg.js b/core/interfaces/i_ast_node_location_svg.js index 53d65a529..ffa67e6e0 100644 --- a/core/interfaces/i_ast_node_location_svg.js +++ b/core/interfaces/i_ast_node_location_svg.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IASTNodeLocationSvg'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const IASTNodeLocation = goog.requireType('Blockly.IASTNodeLocation'); diff --git a/core/interfaces/i_ast_node_location_with_block.js b/core/interfaces/i_ast_node_location_with_block.js index b45bca4ea..11c71a70a 100644 --- a/core/interfaces/i_ast_node_location_with_block.js +++ b/core/interfaces/i_ast_node_location_with_block.js @@ -13,7 +13,6 @@ 'use strict'; goog.module('Blockly.IASTNodeLocationWithBlock'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const IASTNodeLocation = goog.requireType('Blockly.IASTNodeLocation'); diff --git a/core/interfaces/i_autohideable.js b/core/interfaces/i_autohideable.js index fa881770a..3f2919d0f 100644 --- a/core/interfaces/i_autohideable.js +++ b/core/interfaces/i_autohideable.js @@ -13,7 +13,6 @@ 'use strict'; goog.module('Blockly.IAutoHideable'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const IComponent = goog.requireType('Blockly.IComponent'); diff --git a/core/interfaces/i_block_dragger.js b/core/interfaces/i_block_dragger.js index a5068e192..d22f859cc 100644 --- a/core/interfaces/i_block_dragger.js +++ b/core/interfaces/i_block_dragger.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IBlockDragger'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const Coordinate = goog.requireType('Blockly.utils.Coordinate'); diff --git a/core/interfaces/i_bounded_element.js b/core/interfaces/i_bounded_element.js index f2c84633e..de1b3a663 100644 --- a/core/interfaces/i_bounded_element.js +++ b/core/interfaces/i_bounded_element.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IBoundedElement'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const Rect = goog.requireType('Blockly.utils.Rect'); diff --git a/core/interfaces/i_bubble.js b/core/interfaces/i_bubble.js index be59509b7..a8b1cfafb 100644 --- a/core/interfaces/i_bubble.js +++ b/core/interfaces/i_bubble.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IBubble'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const Coordinate = goog.requireType('Blockly.utils.Coordinate'); diff --git a/core/interfaces/i_collapsible_toolbox_item.js b/core/interfaces/i_collapsible_toolbox_item.js index 5915a05b4..af6bba3cc 100644 --- a/core/interfaces/i_collapsible_toolbox_item.js +++ b/core/interfaces/i_collapsible_toolbox_item.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.ICollapsibleToolboxItem'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const ISelectableToolboxItem = goog.requireType('Blockly.ISelectableToolboxItem'); diff --git a/core/interfaces/i_component.js b/core/interfaces/i_component.js index d1acc592f..9711cd0a9 100644 --- a/core/interfaces/i_component.js +++ b/core/interfaces/i_component.js @@ -13,7 +13,6 @@ 'use strict'; goog.module('Blockly.IComponent'); -goog.module.declareLegacyNamespace(); /** diff --git a/core/interfaces/i_connection_checker.js b/core/interfaces/i_connection_checker.js index d0eb21e24..dafd36994 100644 --- a/core/interfaces/i_connection_checker.js +++ b/core/interfaces/i_connection_checker.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IConnectionChecker'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const Connection = goog.requireType('Blockly.Connection'); diff --git a/core/interfaces/i_contextmenu.js b/core/interfaces/i_contextmenu.js index 79117d5ed..9a53d17a1 100644 --- a/core/interfaces/i_contextmenu.js +++ b/core/interfaces/i_contextmenu.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IContextMenu'); -goog.module.declareLegacyNamespace(); /** diff --git a/core/interfaces/i_copyable.js b/core/interfaces/i_copyable.js index 0ba476b72..98b58e0ba 100644 --- a/core/interfaces/i_copyable.js +++ b/core/interfaces/i_copyable.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.ICopyable'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const ISelectable = goog.requireType('Blockly.ISelectable'); diff --git a/core/interfaces/i_deletable.js b/core/interfaces/i_deletable.js index ff24023d9..743d6ffd5 100644 --- a/core/interfaces/i_deletable.js +++ b/core/interfaces/i_deletable.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IDeletable'); -goog.module.declareLegacyNamespace(); /** diff --git a/core/interfaces/i_delete_area.js b/core/interfaces/i_delete_area.js index fbe54559a..ef4746c80 100644 --- a/core/interfaces/i_delete_area.js +++ b/core/interfaces/i_delete_area.js @@ -13,7 +13,6 @@ 'use strict'; goog.module('Blockly.IDeleteArea'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const IDraggable = goog.requireType('Blockly.IDraggable'); diff --git a/core/interfaces/i_drag_target.js b/core/interfaces/i_drag_target.js index a47798841..782d01296 100644 --- a/core/interfaces/i_drag_target.js +++ b/core/interfaces/i_drag_target.js @@ -13,7 +13,6 @@ 'use strict'; goog.module('Blockly.IDragTarget'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const IComponent = goog.requireType('Blockly.IComponent'); diff --git a/core/interfaces/i_draggable.js b/core/interfaces/i_draggable.js index 5e6702a1c..7dbb926d0 100644 --- a/core/interfaces/i_draggable.js +++ b/core/interfaces/i_draggable.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IDraggable'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const IDeletable = goog.requireType('Blockly.IDeletable'); diff --git a/core/interfaces/i_flyout.js b/core/interfaces/i_flyout.js index 030fd89fe..f4b8ad3c4 100644 --- a/core/interfaces/i_flyout.js +++ b/core/interfaces/i_flyout.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IFlyout'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const Coordinate = goog.requireType('Blockly.utils.Coordinate'); diff --git a/core/interfaces/i_keyboard_accessible.js b/core/interfaces/i_keyboard_accessible.js index 04704a2fe..e935c01de 100644 --- a/core/interfaces/i_keyboard_accessible.js +++ b/core/interfaces/i_keyboard_accessible.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IKeyboardAccessible'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const ShortcutRegistry = goog.requireType('Blockly.ShortcutRegistry'); diff --git a/core/interfaces/i_metrics_manager.js b/core/interfaces/i_metrics_manager.js index 7dd8ef663..9d707f7fb 100644 --- a/core/interfaces/i_metrics_manager.js +++ b/core/interfaces/i_metrics_manager.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IMetricsManager'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const Metrics = goog.requireType('Blockly.utils.Metrics'); diff --git a/core/interfaces/i_movable.js b/core/interfaces/i_movable.js index 25a92d6bb..b52f0aca2 100644 --- a/core/interfaces/i_movable.js +++ b/core/interfaces/i_movable.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IMovable'); -goog.module.declareLegacyNamespace(); /** diff --git a/core/interfaces/i_positionable.js b/core/interfaces/i_positionable.js index ba1a4d2b5..26a8f26e6 100644 --- a/core/interfaces/i_positionable.js +++ b/core/interfaces/i_positionable.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IPositionable'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const IComponent = goog.requireType('Blockly.IComponent'); diff --git a/core/interfaces/i_registrable.js b/core/interfaces/i_registrable.js index 5698ad313..382ccbf29 100644 --- a/core/interfaces/i_registrable.js +++ b/core/interfaces/i_registrable.js @@ -13,7 +13,6 @@ 'use strict'; goog.module('Blockly.IRegistrable'); -goog.module.declareLegacyNamespace(); /** diff --git a/core/interfaces/i_registrable_field.js b/core/interfaces/i_registrable_field.js index c9d04325d..beb367462 100644 --- a/core/interfaces/i_registrable_field.js +++ b/core/interfaces/i_registrable_field.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IRegistrableField'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const Field = goog.requireType('Blockly.Field'); @@ -26,7 +25,7 @@ const Field = goog.requireType('Blockly.Field'); * fromJson:IRegistrableField.fromJson * }} */ -let IRegistrableField; +let IRegistrableField = {}; /** * @typedef {function(!Object): Field} diff --git a/core/interfaces/i_selectable.js b/core/interfaces/i_selectable.js index e95b0dcfe..3b9d074a5 100644 --- a/core/interfaces/i_selectable.js +++ b/core/interfaces/i_selectable.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.ISelectable'); -goog.module.declareLegacyNamespace(); // eslint-disable-next-line no-unused-vars const IDeletable = goog.requireType('Blockly.IDeletable'); diff --git a/core/interfaces/i_selectable_toolbox_item.js b/core/interfaces/i_selectable_toolbox_item.js index 2e286889f..39fd08326 100644 --- a/core/interfaces/i_selectable_toolbox_item.js +++ b/core/interfaces/i_selectable_toolbox_item.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.ISelectableToolboxItem'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const IToolboxItem = goog.requireType('Blockly.IToolboxItem'); diff --git a/core/interfaces/i_styleable.js b/core/interfaces/i_styleable.js index 14dea3ce1..5d25bf713 100644 --- a/core/interfaces/i_styleable.js +++ b/core/interfaces/i_styleable.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IStyleable'); -goog.module.declareLegacyNamespace(); /** diff --git a/core/interfaces/i_toolbox.js b/core/interfaces/i_toolbox.js index ee645ba34..7e8200386 100644 --- a/core/interfaces/i_toolbox.js +++ b/core/interfaces/i_toolbox.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IToolbox'); -goog.module.declareLegacyNamespace(); /* eslint-disable-next-line no-unused-vars */ const IFlyout = goog.requireType('Blockly.IFlyout'); diff --git a/core/interfaces/i_toolbox_item.js b/core/interfaces/i_toolbox_item.js index 061b7ae27..a3b946543 100644 --- a/core/interfaces/i_toolbox_item.js +++ b/core/interfaces/i_toolbox_item.js @@ -12,7 +12,6 @@ 'use strict'; goog.module('Blockly.IToolboxItem'); -goog.module.declareLegacyNamespace(); /** diff --git a/tests/deps.js b/tests/deps.js index 18551fef4..3a8cef8ad 100644 --- a/tests/deps.js +++ b/tests/deps.js @@ -12,7 +12,7 @@ goog.addDependency('../../core/block_animations.js', ['Blockly.blockAnimations'] goog.addDependency('../../core/block_drag_surface.js', ['Blockly.BlockDragSurfaceSvg'], ['Blockly.utils', 'Blockly.utils.Coordinate', 'Blockly.utils.Svg', 'Blockly.utils.dom'], {'lang': 'es6', 'module': 'goog'}); goog.addDependency('../../core/block_dragger.js', ['Blockly.BlockDragger'], ['Blockly.Events', 'Blockly.Events.BlockDrag', 'Blockly.Events.BlockMove', 'Blockly.InsertionMarkerManager', 'Blockly.blockAnimations', 'Blockly.bumpObjects', 'Blockly.common', 'Blockly.registry', 'Blockly.utils.Coordinate', 'Blockly.utils.dom'], {'lang': 'es6', 'module': 'goog'}); goog.addDependency('../../core/block_svg.js', ['Blockly.BlockSvg'], ['Blockly.ASTNode', 'Blockly.Block', 'Blockly.ConnectionType', 'Blockly.ContextMenu', 'Blockly.ContextMenuRegistry', 'Blockly.Events', 'Blockly.Events.BlockMove', 'Blockly.Events.Selected', 'Blockly.FieldLabel', 'Blockly.MarkerManager', 'Blockly.Msg', 'Blockly.RenderedConnection', 'Blockly.TabNavigateCursor', 'Blockly.Tooltip', 'Blockly.Touch', 'Blockly.blockAnimations', 'Blockly.browserEvents', 'Blockly.common', 'Blockly.constants', 'Blockly.internalConstants', 'Blockly.serialization.blocks', 'Blockly.utils', 'Blockly.utils.Coordinate', 'Blockly.utils.Rect', 'Blockly.utils.Svg', 'Blockly.utils.dom', 'Blockly.utils.object', 'Blockly.utils.userAgent'], {'lang': 'es6', 'module': 'goog'}); -goog.addDependency('../../core/blockly.js', ['Blockly'], ['Blockly.ASTNode', 'Blockly.BasicCursor', 'Blockly.Block', 'Blockly.BlockDragSurfaceSvg', 'Blockly.BlockDragger', 'Blockly.BlockSvg', 'Blockly.BlocklyOptions', 'Blockly.Blocks', 'Blockly.Bubble', 'Blockly.BubbleDragger', 'Blockly.CollapsibleToolboxCategory', 'Blockly.Comment', 'Blockly.ComponentManager', 'Blockly.Connection', 'Blockly.ConnectionChecker', 'Blockly.ConnectionDB', 'Blockly.ConnectionType', 'Blockly.ContextMenu', 'Blockly.ContextMenuItems', 'Blockly.ContextMenuRegistry', 'Blockly.Css', 'Blockly.Cursor', 'Blockly.DeleteArea', 'Blockly.DragTarget', 'Blockly.DropDownDiv', 'Blockly.Events.BlockCreate', 'Blockly.Events.FinishedLoading', 'Blockly.Events.Ui', 'Blockly.Events.UiBase', 'Blockly.Events.VarCreate', 'Blockly.Extensions', 'Blockly.Field', 'Blockly.FieldAngle', 'Blockly.FieldCheckbox', 'Blockly.FieldColour', 'Blockly.FieldDropdown', 'Blockly.FieldImage', 'Blockly.FieldLabel', 'Blockly.FieldLabelSerializable', 'Blockly.FieldMultilineInput', 'Blockly.FieldNumber', 'Blockly.FieldTextInput', 'Blockly.FieldVariable', 'Blockly.Flyout', 'Blockly.FlyoutButton', 'Blockly.FlyoutMetricsManager', 'Blockly.Generator', 'Blockly.Gesture', 'Blockly.Grid', 'Blockly.HorizontalFlyout', 'Blockly.Icon', 'Blockly.Input', 'Blockly.InsertionMarkerManager', 'Blockly.Marker', 'Blockly.MarkerManager', 'Blockly.Menu', 'Blockly.MenuItem', 'Blockly.MetricsManager', 'Blockly.Mutator', 'Blockly.Names', 'Blockly.Options', 'Blockly.Procedures', 'Blockly.Procedures', 'Blockly.RenderedConnection', 'Blockly.Scrollbar', 'Blockly.ScrollbarPair', 'Blockly.ShortcutItems', 'Blockly.ShortcutRegistry', 'Blockly.TabNavigateCursor', 'Blockly.Theme', 'Blockly.ThemeManager', 'Blockly.Themes', 'Blockly.Toolbox', 'Blockly.ToolboxCategory', 'Blockly.ToolboxItem', 'Blockly.ToolboxSeparator', 'Blockly.Tooltip', 'Blockly.Touch', 'Blockly.Touch', 'Blockly.TouchGesture', 'Blockly.Trashcan', 'Blockly.VariableMap', 'Blockly.VariableModel', 'Blockly.Variables', 'Blockly.Variables', 'Blockly.VariablesDynamic', 'Blockly.VerticalFlyout', 'Blockly.Warning', 'Blockly.WidgetDiv', 'Blockly.Workspace', 'Blockly.WorkspaceAudio', 'Blockly.WorkspaceComment', 'Blockly.WorkspaceCommentSvg', 'Blockly.WorkspaceDragSurfaceSvg', 'Blockly.WorkspaceDragger', 'Blockly.WorkspaceSvg', 'Blockly.Xml', 'Blockly.Xml', 'Blockly.ZoomControls', 'Blockly.blockAnimations', 'Blockly.blockRendering', 'Blockly.browserEvents', 'Blockly.bumpObjects', 'Blockly.clipboard', 'Blockly.common', 'Blockly.constants', 'Blockly.dialog', 'Blockly.fieldRegistry', 'Blockly.geras', 'Blockly.inject', 'Blockly.inject', 'Blockly.inputTypes', 'Blockly.internalConstants', 'Blockly.minimalist', 'Blockly.registry', 'Blockly.thrasos', 'Blockly.uiPosition', 'Blockly.utils', 'Blockly.utils.Size', 'Blockly.utils.colour', 'Blockly.utils.deprecation', 'Blockly.utils.toolbox', 'Blockly.zelos'], {'lang': 'es6', 'module': 'goog'}); +goog.addDependency('../../core/blockly.js', ['Blockly'], ['Blockly.ASTNode', 'Blockly.BasicCursor', 'Blockly.Block', 'Blockly.BlockDragSurfaceSvg', 'Blockly.BlockDragger', 'Blockly.BlockSvg', 'Blockly.BlocklyOptions', 'Blockly.Blocks', 'Blockly.Bubble', 'Blockly.BubbleDragger', 'Blockly.CollapsibleToolboxCategory', 'Blockly.Comment', 'Blockly.ComponentManager', 'Blockly.Connection', 'Blockly.ConnectionChecker', 'Blockly.ConnectionDB', 'Blockly.ConnectionType', 'Blockly.ContextMenu', 'Blockly.ContextMenuItems', 'Blockly.ContextMenuRegistry', 'Blockly.Css', 'Blockly.Cursor', 'Blockly.DeleteArea', 'Blockly.DragTarget', 'Blockly.DropDownDiv', 'Blockly.Events.BlockCreate', 'Blockly.Events.FinishedLoading', 'Blockly.Events.Ui', 'Blockly.Events.UiBase', 'Blockly.Events.VarCreate', 'Blockly.Extensions', 'Blockly.Field', 'Blockly.FieldAngle', 'Blockly.FieldCheckbox', 'Blockly.FieldColour', 'Blockly.FieldDropdown', 'Blockly.FieldImage', 'Blockly.FieldLabel', 'Blockly.FieldLabelSerializable', 'Blockly.FieldMultilineInput', 'Blockly.FieldNumber', 'Blockly.FieldTextInput', 'Blockly.FieldVariable', 'Blockly.Flyout', 'Blockly.FlyoutButton', 'Blockly.FlyoutMetricsManager', 'Blockly.Generator', 'Blockly.Gesture', 'Blockly.Grid', 'Blockly.HorizontalFlyout', 'Blockly.IASTNodeLocation', 'Blockly.IASTNodeLocationSvg', 'Blockly.IASTNodeLocationWithBlock', 'Blockly.IAutoHideable', 'Blockly.IBlockDragger', 'Blockly.IBoundedElement', 'Blockly.IBubble', 'Blockly.ICollapsibleToolboxItem', 'Blockly.IComponent', 'Blockly.IConnectionChecker', 'Blockly.IContextMenu', 'Blockly.ICopyable', 'Blockly.IDeletable', 'Blockly.IDeleteArea', 'Blockly.IDragTarget', 'Blockly.IDraggable', 'Blockly.IFlyout', 'Blockly.IKeyboardAccessible', 'Blockly.IMetricsManager', 'Blockly.IMovable', 'Blockly.IPositionable', 'Blockly.IRegistrable', 'Blockly.IRegistrableField', 'Blockly.ISelectable', 'Blockly.ISelectableToolboxItem', 'Blockly.IStyleable', 'Blockly.IToolbox', 'Blockly.IToolboxItem', 'Blockly.Icon', 'Blockly.Input', 'Blockly.InsertionMarkerManager', 'Blockly.Marker', 'Blockly.MarkerManager', 'Blockly.Menu', 'Blockly.MenuItem', 'Blockly.MetricsManager', 'Blockly.Mutator', 'Blockly.Names', 'Blockly.Options', 'Blockly.Procedures', 'Blockly.Procedures', 'Blockly.RenderedConnection', 'Blockly.Scrollbar', 'Blockly.ScrollbarPair', 'Blockly.ShortcutItems', 'Blockly.ShortcutRegistry', 'Blockly.TabNavigateCursor', 'Blockly.Theme', 'Blockly.ThemeManager', 'Blockly.Themes', 'Blockly.Toolbox', 'Blockly.ToolboxCategory', 'Blockly.ToolboxItem', 'Blockly.ToolboxSeparator', 'Blockly.Tooltip', 'Blockly.Touch', 'Blockly.Touch', 'Blockly.TouchGesture', 'Blockly.Trashcan', 'Blockly.VariableMap', 'Blockly.VariableModel', 'Blockly.Variables', 'Blockly.Variables', 'Blockly.VariablesDynamic', 'Blockly.VerticalFlyout', 'Blockly.Warning', 'Blockly.WidgetDiv', 'Blockly.Workspace', 'Blockly.WorkspaceAudio', 'Blockly.WorkspaceComment', 'Blockly.WorkspaceCommentSvg', 'Blockly.WorkspaceDragSurfaceSvg', 'Blockly.WorkspaceDragger', 'Blockly.WorkspaceSvg', 'Blockly.Xml', 'Blockly.Xml', 'Blockly.ZoomControls', 'Blockly.blockAnimations', 'Blockly.blockRendering', 'Blockly.browserEvents', 'Blockly.bumpObjects', 'Blockly.clipboard', 'Blockly.common', 'Blockly.constants', 'Blockly.dialog', 'Blockly.fieldRegistry', 'Blockly.geras', 'Blockly.inject', 'Blockly.inject', 'Blockly.inputTypes', 'Blockly.internalConstants', 'Blockly.minimalist', 'Blockly.registry', 'Blockly.thrasos', 'Blockly.uiPosition', 'Blockly.utils', 'Blockly.utils.Size', 'Blockly.utils.colour', 'Blockly.utils.deprecation', 'Blockly.utils.toolbox', 'Blockly.zelos'], {'lang': 'es6', 'module': 'goog'}); goog.addDependency('../../core/blockly_options.js', ['Blockly.BlocklyOptions'], [], {'lang': 'es6', 'module': 'goog'}); goog.addDependency('../../core/blocks.js', ['Blockly.Blocks'], [], {'lang': 'es6', 'module': 'goog'}); goog.addDependency('../../core/browser_events.js', ['Blockly.browserEvents'], ['Blockly.Touch', 'Blockly.internalConstants', 'Blockly.utils.global', 'Blockly.utils.userAgent'], {'lang': 'es6', 'module': 'goog'}); diff --git a/tests/deps.mocha.js b/tests/deps.mocha.js index 152124f67..b5aa955f9 100644 --- a/tests/deps.mocha.js +++ b/tests/deps.mocha.js @@ -12,7 +12,7 @@ goog.addDependency('../../core/block_animations.js', ['Blockly.blockAnimations'] goog.addDependency('../../core/block_drag_surface.js', ['Blockly.BlockDragSurfaceSvg'], ['Blockly.utils', 'Blockly.utils.Coordinate', 'Blockly.utils.Svg', 'Blockly.utils.dom'], {'lang': 'es6', 'module': 'goog'}); goog.addDependency('../../core/block_dragger.js', ['Blockly.BlockDragger'], ['Blockly.Events', 'Blockly.Events.BlockDrag', 'Blockly.Events.BlockMove', 'Blockly.InsertionMarkerManager', 'Blockly.blockAnimations', 'Blockly.bumpObjects', 'Blockly.common', 'Blockly.registry', 'Blockly.utils.Coordinate', 'Blockly.utils.dom'], {'lang': 'es6', 'module': 'goog'}); goog.addDependency('../../core/block_svg.js', ['Blockly.BlockSvg'], ['Blockly.ASTNode', 'Blockly.Block', 'Blockly.ConnectionType', 'Blockly.ContextMenu', 'Blockly.ContextMenuRegistry', 'Blockly.Events', 'Blockly.Events.BlockMove', 'Blockly.Events.Selected', 'Blockly.FieldLabel', 'Blockly.MarkerManager', 'Blockly.Msg', 'Blockly.RenderedConnection', 'Blockly.TabNavigateCursor', 'Blockly.Tooltip', 'Blockly.Touch', 'Blockly.blockAnimations', 'Blockly.browserEvents', 'Blockly.common', 'Blockly.constants', 'Blockly.internalConstants', 'Blockly.serialization.blocks', 'Blockly.utils', 'Blockly.utils.Coordinate', 'Blockly.utils.Rect', 'Blockly.utils.Svg', 'Blockly.utils.dom', 'Blockly.utils.object', 'Blockly.utils.userAgent'], {'lang': 'es6', 'module': 'goog'}); -goog.addDependency('../../core/blockly.js', ['Blockly'], ['Blockly.ASTNode', 'Blockly.BasicCursor', 'Blockly.Block', 'Blockly.BlockDragSurfaceSvg', 'Blockly.BlockDragger', 'Blockly.BlockSvg', 'Blockly.BlocklyOptions', 'Blockly.Blocks', 'Blockly.Bubble', 'Blockly.BubbleDragger', 'Blockly.CollapsibleToolboxCategory', 'Blockly.Comment', 'Blockly.ComponentManager', 'Blockly.Connection', 'Blockly.ConnectionChecker', 'Blockly.ConnectionDB', 'Blockly.ConnectionType', 'Blockly.ContextMenu', 'Blockly.ContextMenuItems', 'Blockly.ContextMenuRegistry', 'Blockly.Css', 'Blockly.Cursor', 'Blockly.DeleteArea', 'Blockly.DragTarget', 'Blockly.DropDownDiv', 'Blockly.Events.BlockCreate', 'Blockly.Events.FinishedLoading', 'Blockly.Events.Ui', 'Blockly.Events.UiBase', 'Blockly.Events.VarCreate', 'Blockly.Extensions', 'Blockly.Field', 'Blockly.FieldAngle', 'Blockly.FieldCheckbox', 'Blockly.FieldColour', 'Blockly.FieldDropdown', 'Blockly.FieldImage', 'Blockly.FieldLabel', 'Blockly.FieldLabelSerializable', 'Blockly.FieldMultilineInput', 'Blockly.FieldNumber', 'Blockly.FieldTextInput', 'Blockly.FieldVariable', 'Blockly.Flyout', 'Blockly.FlyoutButton', 'Blockly.FlyoutMetricsManager', 'Blockly.Generator', 'Blockly.Gesture', 'Blockly.Grid', 'Blockly.HorizontalFlyout', 'Blockly.Icon', 'Blockly.Input', 'Blockly.InsertionMarkerManager', 'Blockly.Marker', 'Blockly.MarkerManager', 'Blockly.Menu', 'Blockly.MenuItem', 'Blockly.MetricsManager', 'Blockly.Mutator', 'Blockly.Names', 'Blockly.Options', 'Blockly.Procedures', 'Blockly.Procedures', 'Blockly.RenderedConnection', 'Blockly.Scrollbar', 'Blockly.ScrollbarPair', 'Blockly.ShortcutItems', 'Blockly.ShortcutRegistry', 'Blockly.TabNavigateCursor', 'Blockly.Theme', 'Blockly.ThemeManager', 'Blockly.Themes', 'Blockly.Toolbox', 'Blockly.ToolboxCategory', 'Blockly.ToolboxItem', 'Blockly.ToolboxSeparator', 'Blockly.Tooltip', 'Blockly.Touch', 'Blockly.Touch', 'Blockly.TouchGesture', 'Blockly.Trashcan', 'Blockly.VariableMap', 'Blockly.VariableModel', 'Blockly.Variables', 'Blockly.Variables', 'Blockly.VariablesDynamic', 'Blockly.VerticalFlyout', 'Blockly.Warning', 'Blockly.WidgetDiv', 'Blockly.Workspace', 'Blockly.WorkspaceAudio', 'Blockly.WorkspaceComment', 'Blockly.WorkspaceCommentSvg', 'Blockly.WorkspaceDragSurfaceSvg', 'Blockly.WorkspaceDragger', 'Blockly.WorkspaceSvg', 'Blockly.Xml', 'Blockly.Xml', 'Blockly.ZoomControls', 'Blockly.blockAnimations', 'Blockly.blockRendering', 'Blockly.browserEvents', 'Blockly.bumpObjects', 'Blockly.clipboard', 'Blockly.common', 'Blockly.constants', 'Blockly.dialog', 'Blockly.fieldRegistry', 'Blockly.geras', 'Blockly.inject', 'Blockly.inject', 'Blockly.inputTypes', 'Blockly.internalConstants', 'Blockly.minimalist', 'Blockly.registry', 'Blockly.thrasos', 'Blockly.uiPosition', 'Blockly.utils', 'Blockly.utils.Size', 'Blockly.utils.colour', 'Blockly.utils.deprecation', 'Blockly.utils.toolbox', 'Blockly.zelos'], {'lang': 'es6', 'module': 'goog'}); +goog.addDependency('../../core/blockly.js', ['Blockly'], ['Blockly.ASTNode', 'Blockly.BasicCursor', 'Blockly.Block', 'Blockly.BlockDragSurfaceSvg', 'Blockly.BlockDragger', 'Blockly.BlockSvg', 'Blockly.BlocklyOptions', 'Blockly.Blocks', 'Blockly.Bubble', 'Blockly.BubbleDragger', 'Blockly.CollapsibleToolboxCategory', 'Blockly.Comment', 'Blockly.ComponentManager', 'Blockly.Connection', 'Blockly.ConnectionChecker', 'Blockly.ConnectionDB', 'Blockly.ConnectionType', 'Blockly.ContextMenu', 'Blockly.ContextMenuItems', 'Blockly.ContextMenuRegistry', 'Blockly.Css', 'Blockly.Cursor', 'Blockly.DeleteArea', 'Blockly.DragTarget', 'Blockly.DropDownDiv', 'Blockly.Events.BlockCreate', 'Blockly.Events.FinishedLoading', 'Blockly.Events.Ui', 'Blockly.Events.UiBase', 'Blockly.Events.VarCreate', 'Blockly.Extensions', 'Blockly.Field', 'Blockly.FieldAngle', 'Blockly.FieldCheckbox', 'Blockly.FieldColour', 'Blockly.FieldDropdown', 'Blockly.FieldImage', 'Blockly.FieldLabel', 'Blockly.FieldLabelSerializable', 'Blockly.FieldMultilineInput', 'Blockly.FieldNumber', 'Blockly.FieldTextInput', 'Blockly.FieldVariable', 'Blockly.Flyout', 'Blockly.FlyoutButton', 'Blockly.FlyoutMetricsManager', 'Blockly.Generator', 'Blockly.Gesture', 'Blockly.Grid', 'Blockly.HorizontalFlyout', 'Blockly.IASTNodeLocation', 'Blockly.IASTNodeLocationSvg', 'Blockly.IASTNodeLocationWithBlock', 'Blockly.IAutoHideable', 'Blockly.IBlockDragger', 'Blockly.IBoundedElement', 'Blockly.IBubble', 'Blockly.ICollapsibleToolboxItem', 'Blockly.IComponent', 'Blockly.IConnectionChecker', 'Blockly.IContextMenu', 'Blockly.ICopyable', 'Blockly.IDeletable', 'Blockly.IDeleteArea', 'Blockly.IDragTarget', 'Blockly.IDraggable', 'Blockly.IFlyout', 'Blockly.IKeyboardAccessible', 'Blockly.IMetricsManager', 'Blockly.IMovable', 'Blockly.IPositionable', 'Blockly.IRegistrable', 'Blockly.IRegistrableField', 'Blockly.ISelectable', 'Blockly.ISelectableToolboxItem', 'Blockly.IStyleable', 'Blockly.IToolbox', 'Blockly.IToolboxItem', 'Blockly.Icon', 'Blockly.Input', 'Blockly.InsertionMarkerManager', 'Blockly.Marker', 'Blockly.MarkerManager', 'Blockly.Menu', 'Blockly.MenuItem', 'Blockly.MetricsManager', 'Blockly.Mutator', 'Blockly.Names', 'Blockly.Options', 'Blockly.Procedures', 'Blockly.Procedures', 'Blockly.RenderedConnection', 'Blockly.Scrollbar', 'Blockly.ScrollbarPair', 'Blockly.ShortcutItems', 'Blockly.ShortcutRegistry', 'Blockly.TabNavigateCursor', 'Blockly.Theme', 'Blockly.ThemeManager', 'Blockly.Themes', 'Blockly.Toolbox', 'Blockly.ToolboxCategory', 'Blockly.ToolboxItem', 'Blockly.ToolboxSeparator', 'Blockly.Tooltip', 'Blockly.Touch', 'Blockly.Touch', 'Blockly.TouchGesture', 'Blockly.Trashcan', 'Blockly.VariableMap', 'Blockly.VariableModel', 'Blockly.Variables', 'Blockly.Variables', 'Blockly.VariablesDynamic', 'Blockly.VerticalFlyout', 'Blockly.Warning', 'Blockly.WidgetDiv', 'Blockly.Workspace', 'Blockly.WorkspaceAudio', 'Blockly.WorkspaceComment', 'Blockly.WorkspaceCommentSvg', 'Blockly.WorkspaceDragSurfaceSvg', 'Blockly.WorkspaceDragger', 'Blockly.WorkspaceSvg', 'Blockly.Xml', 'Blockly.Xml', 'Blockly.ZoomControls', 'Blockly.blockAnimations', 'Blockly.blockRendering', 'Blockly.browserEvents', 'Blockly.bumpObjects', 'Blockly.clipboard', 'Blockly.common', 'Blockly.constants', 'Blockly.dialog', 'Blockly.fieldRegistry', 'Blockly.geras', 'Blockly.inject', 'Blockly.inject', 'Blockly.inputTypes', 'Blockly.internalConstants', 'Blockly.minimalist', 'Blockly.registry', 'Blockly.thrasos', 'Blockly.uiPosition', 'Blockly.utils', 'Blockly.utils.Size', 'Blockly.utils.colour', 'Blockly.utils.deprecation', 'Blockly.utils.toolbox', 'Blockly.zelos'], {'lang': 'es6', 'module': 'goog'}); goog.addDependency('../../core/blockly_options.js', ['Blockly.BlocklyOptions'], [], {'lang': 'es6', 'module': 'goog'}); goog.addDependency('../../core/blocks.js', ['Blockly.Blocks'], [], {'lang': 'es6', 'module': 'goog'}); goog.addDependency('../../core/browser_events.js', ['Blockly.browserEvents'], ['Blockly.Touch', 'Blockly.internalConstants', 'Blockly.utils.global', 'Blockly.utils.userAgent'], {'lang': 'es6', 'module': 'goog'});