From c9be2402bd2b32b815eb215150700c53fcd94273 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Tue, 12 Jan 2021 12:38:21 -0800 Subject: [PATCH] More missing requires --- core/bubble.js | 3 +++ core/bubble_dragger.js | 3 +++ core/comment.js | 6 ++++++ core/connection.js | 2 ++ core/connection_checker.js | 3 ++- core/zoom_controls.js | 1 + 6 files changed, 17 insertions(+), 1 deletion(-) diff --git a/core/bubble.js b/core/bubble.js index 9a8b52567..a67502131 100644 --- a/core/bubble.js +++ b/core/bubble.js @@ -18,10 +18,13 @@ goog.require('Blockly.utils'); goog.require('Blockly.utils.Coordinate'); goog.require('Blockly.utils.dom'); goog.require('Blockly.utils.math'); +goog.require('Blockly.utils.Size'); goog.require('Blockly.utils.Svg'); goog.require('Blockly.utils.userAgent'); goog.require('Blockly.Workspace'); +goog.requireType('Blockly.BlockDragSurfaceSvg'); +goog.requireType('Blockly.BlockSvg'); goog.requireType('Blockly.IBubble'); goog.requireType('Blockly.utils.Metrics'); goog.requireType('Blockly.WorkspaceSvg'); diff --git a/core/bubble_dragger.js b/core/bubble_dragger.js index 732165bd9..8caf7c8cb 100644 --- a/core/bubble_dragger.js +++ b/core/bubble_dragger.js @@ -19,7 +19,10 @@ goog.require('Blockly.Events.CommentMove'); goog.require('Blockly.utils'); goog.require('Blockly.utils.Coordinate'); +goog.requireType('Blockly.BlockDragSurfaceSvg'); +goog.requireType('Blockly.BlockSvg'); goog.requireType('Blockly.IBubble'); +goog.requireType('Blockly.WorkspaceSvg'); /** diff --git a/core/comment.js b/core/comment.js index 33c4bd9ec..0310869b7 100644 --- a/core/comment.js +++ b/core/comment.js @@ -25,6 +25,12 @@ goog.require('Blockly.utils.Svg'); goog.require('Blockly.utils.userAgent'); goog.require('Blockly.Warning'); +goog.requireType('Blockly.Block'); +goog.requireType('Blockly.BlockSvg'); +goog.requireType('Blockly.utils.Coordinate'); +goog.requireType('Blockly.utils.Size'); +goog.requireType('Blockly.WorkspaceSvg'); + /** * Class for a comment. diff --git a/core/connection.js b/core/connection.js index c50c50c31..249e434e6 100644 --- a/core/connection.js +++ b/core/connection.js @@ -18,8 +18,10 @@ goog.require('Blockly.Events.BlockMove'); goog.require('Blockly.utils.deprecation'); goog.require('Blockly.Xml'); +goog.requireType('Blockly.Block'); goog.requireType('Blockly.IASTNodeLocationWithBlock'); goog.requireType('Blockly.IConnectionChecker'); +goog.requireType('Blockly.Input'); /** diff --git a/core/connection_checker.js b/core/connection_checker.js index a5d06fe06..c90d1d76e 100644 --- a/core/connection_checker.js +++ b/core/connection_checker.js @@ -13,11 +13,12 @@ goog.provide('Blockly.ConnectionChecker'); +goog.require('Blockly.Connection'); goog.require('Blockly.constants'); goog.require('Blockly.registry'); -goog.requireType('Blockly.Connection'); goog.requireType('Blockly.IConnectionChecker'); +goog.requireType('Blockly.RenderedConnection'); /** diff --git a/core/zoom_controls.js b/core/zoom_controls.js index 82558a507..20c94e490 100644 --- a/core/zoom_controls.js +++ b/core/zoom_controls.js @@ -19,6 +19,7 @@ goog.require('Blockly.Touch'); goog.require('Blockly.utils.dom'); goog.require('Blockly.utils.Svg'); +goog.requireType('Blockly.WorkspaceSvg'); /** * Class for a zoom controls.