Merge pull request #4629 from rachel-fenichel/missing_require_feb

Update more missing requireTypes
This commit is contained in:
Rachel Fenichel
2021-02-10 16:01:42 -08:00
committed by GitHub
14 changed files with 38 additions and 1 deletions
+1 -1
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');
+1
View File
@@ -18,6 +18,7 @@ goog.require('Blockly.constants');
goog.require('Blockly.RenderedConnection');
goog.requireType('Blockly.IConnectionChecker');
goog.requireType('Blockly.utils.Coordinate');
/**
+5
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?
+2
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.
+4
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.
+2
View File
@@ -15,6 +15,8 @@ goog.provide('Blockly.Events.Abstract');
goog.require('Blockly.Events');
goog.requireType('Blockly.Workspace');
/**
* Abstract class for an event.
+3
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
+3
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
+3
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
+5
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
+3
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
+2
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.
+2
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.
+2
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