Update more missing requireTypes

This commit is contained in:
Rachel Fenichel
2021-02-10 14:59:05 -08:00
parent 5e7ab7f06e
commit 84446215c0
14 changed files with 38 additions and 1 deletions

View File

@@ -15,9 +15,9 @@ goog.provide('Blockly.ConnectionChecker');
goog.require('Blockly.Connection');
goog.require('Blockly.constants');
goog.require('Blockly.IConnectionChecker');
goog.require('Blockly.registry');
goog.requireType('Blockly.IConnectionChecker');
goog.requireType('Blockly.RenderedConnection');

View File

@@ -18,6 +18,7 @@ goog.require('Blockly.constants');
goog.require('Blockly.RenderedConnection');
goog.requireType('Blockly.IConnectionChecker');
goog.requireType('Blockly.utils.Coordinate');
/**

View File

@@ -23,12 +23,17 @@ goog.require('Blockly.Menu');
goog.require('Blockly.MenuItem');
goog.require('Blockly.Msg');
goog.require('Blockly.utils');
goog.require('Blockly.utils.aria');
goog.require('Blockly.utils.Coordinate');
goog.require('Blockly.utils.dom');
goog.require('Blockly.utils.Rect');
goog.require('Blockly.utils.userAgent');
goog.require('Blockly.WidgetDiv');
goog.require('Blockly.Xml');
goog.requireType('Blockly.Block');
goog.requireType('Blockly.WorkspaceSvg');
/**
* Which block is the context menu attached to?

View File

@@ -29,6 +29,8 @@ goog.require('Blockly.utils.xml');
// TODO: Fix recursive dependency.
// goog.require('Blockly.Xml');
goog.requireType('Blockly.Block');
/**
* Abstract class for a block event.

View File

@@ -19,6 +19,10 @@ goog.provide('Blockly.Events');
goog.require('Blockly.registry');
goog.require('Blockly.utils');
goog.requireType('Blockly.Block');
goog.requireType('Blockly.Events.Abstract');
goog.requireType('Blockly.Workspace');
/**
* Group ID for new events. Grouped events are indivisible.

View File

@@ -15,6 +15,8 @@ goog.provide('Blockly.Events.Abstract');
goog.require('Blockly.Events');
goog.requireType('Blockly.Workspace');
/**
* Abstract class for an event.

View File

@@ -17,6 +17,9 @@ goog.require('Blockly.Events.UiBase');
goog.require('Blockly.registry');
goog.require('Blockly.utils.object');
goog.requireType('Blockly.Block');
/**
* Class for a block drag event.
* @param {!Blockly.Block=} opt_block The top block in the stack that is being

View File

@@ -17,6 +17,9 @@ goog.require('Blockly.Events.UiBase');
goog.require('Blockly.registry');
goog.require('Blockly.utils.object');
goog.requireType('Blockly.BlockSvg');
/**
* Class for a bubble open event.
* @param {Blockly.BlockSvg} opt_block The associated block. Undefined for a

View File

@@ -17,6 +17,9 @@ goog.require('Blockly.Events.UiBase');
goog.require('Blockly.registry');
goog.require('Blockly.utils.object');
goog.requireType('Blockly.Block');
/**
* Class for a click event.
* @param {?Blockly.Block=} opt_block The affected block. Null for click events

View File

@@ -17,6 +17,11 @@ goog.require('Blockly.Events.UiBase');
goog.require('Blockly.registry');
goog.require('Blockly.utils.object');
goog.requireType('Blockly.ASTNode');
goog.requireType('Blockly.Block');
goog.requireType('Blockly.Workspace');
/**
* Class for a marker move event.
* @param {?Blockly.Block=} opt_block The affected block. Null if current node

View File

@@ -18,6 +18,9 @@ goog.require('Blockly.Events.Abstract');
goog.require('Blockly.registry');
goog.require('Blockly.utils.object');
goog.requireType('Blockly.Block');
/**
* Base class for a UI event.
* UI events are events that don't need to be sent over the wire for multi-user

View File

@@ -20,6 +20,8 @@ goog.require('Blockly.Events.Abstract');
goog.require('Blockly.registry');
goog.require('Blockly.utils.object');
goog.requireType('Blockly.VariableModel');
/**
* Abstract class for a variable event.

View File

@@ -17,6 +17,8 @@ goog.require('Blockly.Events.Abstract');
goog.require('Blockly.registry');
goog.require('Blockly.utils.object');
goog.requireType('Blockly.Workspace');
/**
* Class for a finished loading event.

View File

@@ -14,6 +14,8 @@ goog.provide('Blockly.WorkspaceDragger');
goog.require('Blockly.utils.Coordinate');
goog.requireType('Blockly.WorkspaceSvg');
/**
* Class for a workspace dragger. It moves the workspace around when it is