diff --git a/core/block_animations.js b/core/block_animations.js index 8c97107ce..3ec7a575a 100644 --- a/core/block_animations.js +++ b/core/block_animations.js @@ -28,6 +28,8 @@ goog.provide('Blockly.BlockAnimations'); goog.require('Blockly.utils'); +goog.require('goog.dom'); + /** * PID of disconnect UI animation. There can only be one at a time. diff --git a/core/block_events.js b/core/block_events.js index b3a25be6f..75ded21bc 100644 --- a/core/block_events.js +++ b/core/block_events.js @@ -37,6 +37,7 @@ goog.provide('Blockly.Events.Move'); // Deprecated. goog.require('Blockly.Events'); goog.require('Blockly.Events.Abstract'); +goog.require('goog.dom'); goog.require('goog.math.Coordinate'); diff --git a/core/connection.js b/core/connection.js index d6988c55e..91a6f19a7 100644 --- a/core/connection.js +++ b/core/connection.js @@ -28,8 +28,6 @@ goog.provide('Blockly.Connection'); goog.require('Blockly.Events.BlockMove'); -goog.require('goog.dom'); - /** * Class for a connection between blocks. diff --git a/core/contextmenu.js b/core/contextmenu.js index 00dbd16ed..3e64f5ba5 100644 --- a/core/contextmenu.js +++ b/core/contextmenu.js @@ -34,7 +34,6 @@ goog.require('Blockly.Events.BlockCreate'); goog.require('Blockly.utils'); goog.require('Blockly.utils.uiMenu'); -goog.require('goog.dom'); goog.require('goog.events'); goog.require('goog.style'); goog.require('goog.ui.Menu'); diff --git a/core/field_colour.js b/core/field_colour.js index dfeee67d9..19d0ac96b 100644 --- a/core/field_colour.js +++ b/core/field_colour.js @@ -29,7 +29,6 @@ goog.provide('Blockly.FieldColour'); goog.require('Blockly.Field'); goog.require('Blockly.utils'); -goog.require('goog.dom'); goog.require('goog.events'); goog.require('goog.style'); goog.require('goog.ui.ColorPicker'); diff --git a/core/field_date.js b/core/field_date.js index 6a5c5a434..b6de147a9 100644 --- a/core/field_date.js +++ b/core/field_date.js @@ -31,7 +31,6 @@ goog.require('Blockly.utils'); goog.require('goog.date'); goog.require('goog.date.DateTime'); -goog.require('goog.dom'); goog.require('goog.events'); goog.require('goog.i18n.DateTimeSymbols'); goog.require('goog.i18n.DateTimeSymbols_he'); diff --git a/core/flyout_horizontal.js b/core/flyout_horizontal.js index ec06db373..3129e5386 100644 --- a/core/flyout_horizontal.js +++ b/core/flyout_horizontal.js @@ -32,7 +32,6 @@ goog.require('Blockly.FlyoutButton'); goog.require('Blockly.Flyout'); goog.require('Blockly.WorkspaceSvg'); -goog.require('goog.dom'); goog.require('goog.math.Rect'); goog.require('goog.userAgent'); diff --git a/core/flyout_vertical.js b/core/flyout_vertical.js index 86548196d..73f98bbc0 100644 --- a/core/flyout_vertical.js +++ b/core/flyout_vertical.js @@ -32,7 +32,6 @@ goog.require('Blockly.Flyout'); goog.require('Blockly.FlyoutButton'); goog.require('Blockly.WorkspaceSvg'); -goog.require('goog.dom'); goog.require('goog.math.Rect'); goog.require('goog.userAgent'); diff --git a/core/procedures.js b/core/procedures.js index 01f72dfd3..5cc94fa1f 100644 --- a/core/procedures.js +++ b/core/procedures.js @@ -37,6 +37,8 @@ goog.require('Blockly.Field'); goog.require('Blockly.Names'); goog.require('Blockly.Workspace'); +goog.require('goog.dom'); + /** * Constant to separate procedure names from variables and generated functions diff --git a/core/rendered_connection.js b/core/rendered_connection.js index f5e8ef5c9..7eb8ed72c 100644 --- a/core/rendered_connection.js +++ b/core/rendered_connection.js @@ -29,6 +29,8 @@ goog.provide('Blockly.RenderedConnection'); goog.require('Blockly.Connection'); goog.require('Blockly.utils'); +goog.require('goog.dom'); + /** * Class for a connection between blocks that may be rendered on screen. diff --git a/core/variables.js b/core/variables.js index b63925235..fe66eafc6 100644 --- a/core/variables.js +++ b/core/variables.js @@ -34,6 +34,8 @@ goog.require('Blockly.Blocks'); goog.require('Blockly.constants'); goog.require('Blockly.VariableModel'); goog.require('Blockly.Workspace'); + +goog.require('goog.dom'); goog.require('goog.string'); diff --git a/core/workspace_comment.js b/core/workspace_comment.js index 4ebd95f08..06cb7ddd4 100644 --- a/core/workspace_comment.js +++ b/core/workspace_comment.js @@ -32,6 +32,7 @@ goog.require('Blockly.Events.CommentDelete'); goog.require('Blockly.Events.CommentMove'); goog.require('Blockly.utils'); +goog.require('goog.dom'); goog.require('goog.math.Coordinate'); diff --git a/core/workspace_comment_svg.js b/core/workspace_comment_svg.js index ba6b9bec5..e9bf1ee05 100644 --- a/core/workspace_comment_svg.js +++ b/core/workspace_comment_svg.js @@ -32,6 +32,8 @@ goog.require('Blockly.Events.CommentMove'); goog.require('Blockly.utils'); goog.require('Blockly.WorkspaceComment'); +goog.require('goog.dom'); + /** * Class for a workspace comment's SVG representation. diff --git a/core/ws_comment_events.js b/core/ws_comment_events.js index 0161c1fd5..1118dba50 100644 --- a/core/ws_comment_events.js +++ b/core/ws_comment_events.js @@ -33,6 +33,7 @@ goog.provide('Blockly.Events.CommentMove'); goog.require('Blockly.Events'); goog.require('Blockly.Events.Abstract'); +goog.require('goog.dom'); goog.require('goog.math.Coordinate');