mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
Fix missing require and requireTypes in geras
This commit is contained in:
@@ -20,6 +20,7 @@ goog.require('Blockly.utils.object');
|
||||
goog.require('Blockly.utils.svgPaths');
|
||||
|
||||
goog.requireType('Blockly.geras.PathObject');
|
||||
goog.requireType('Blockly.BlockSvg');
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user