Fix missing require and requireTypes in geras

This commit is contained in:
Rachel Fenichel
2021-01-28 13:54:59 -08:00
parent 2dbf441e9b
commit 52c77c70d6
6 changed files with 24 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ goog.require('Blockly.utils.object');
goog.require('Blockly.utils.svgPaths');
goog.requireType('Blockly.geras.PathObject');
goog.requireType('Blockly.BlockSvg');
/**

View File

@@ -23,6 +23,12 @@ goog.require('Blockly.blockRendering.TopRow');
goog.require('Blockly.blockRendering.Types');
goog.require('Blockly.utils.svgPaths');
goog.requireType('Blockly.blockRendering.ConstantProvider');
goog.requireType('Blockly.geras.ConstantProvider');
goog.requireType('Blockly.geras.HighlightConstantProvider');
goog.requireType('Blockly.geras.Renderer');
goog.requireType('Blockly.geras.RenderInfo');
/**
* An object that adds highlights to a block based on the given rendering

View File

@@ -16,6 +16,7 @@ goog.provide('Blockly.geras.RenderInfo');
goog.require('Blockly.blockRendering.BottomRow');
goog.require('Blockly.blockRendering.InputRow');
goog.require('Blockly.blockRendering.InRowSpacer');
goog.require('Blockly.blockRendering.Measurable');
goog.require('Blockly.blockRendering.NextConnection');
goog.require('Blockly.blockRendering.OutputConnection');
@@ -34,6 +35,10 @@ goog.require('Blockly.geras.InlineInput');
goog.require('Blockly.geras.StatementInput');
goog.require('Blockly.utils.object');
goog.requireType('Blockly.geras.Renderer');
goog.requireType('Blockly.BlockSvg');
goog.requireType('Blockly.blockRendering.Field');
/**
* An object containing all sizing information needed to draw this block.

View File

@@ -15,6 +15,11 @@ goog.provide('Blockly.geras.InlineInput');
goog.provide('Blockly.geras.StatementInput');
goog.require('Blockly.utils.object');
goog.require('Blockly.blockRendering.InlineInput');
goog.require('Blockly.blockRendering.StatementInput');
goog.requireType('Blockly.blockRendering.ConstantProvider');
goog.requireType('Blockly.Input');
/**

View File

@@ -16,6 +16,7 @@ goog.provide('Blockly.geras.PathObject');
goog.require('Blockly.blockRendering.PathObject');
goog.require('Blockly.geras.ConstantProvider');
goog.require('Blockly.Theme');
goog.require('Blockly.utils.colour');
goog.require('Blockly.utils.dom');
goog.require('Blockly.utils.object');
goog.require('Blockly.utils.Svg');

View File

@@ -21,6 +21,12 @@ goog.require('Blockly.geras.PathObject');
goog.require('Blockly.geras.RenderInfo');
goog.require('Blockly.utils.object');
goog.requireType('Blockly.blockRendering.RenderInfo');
goog.requireType('Blockly.blockRendering.ConstantProvider');
goog.requireType('Blockly.BlockSvg');
goog.requireType('Blockly.Theme');
/**
* The geras renderer.