chore: restore registry comments to better positions

This commit is contained in:
Beka Westberg
2022-07-22 22:19:49 +00:00
parent 7c327664d4
commit 5eaf042b87
+25 -20
View File
@@ -61,19 +61,44 @@ export const DEFAULT = 'default';
* @alias Blockly.registry.Type
*/
export class Type<T> {
// Type.CONNECTION_CHECKER = new Type('connectionChecker');
static CONNECTION_CHECKER = new Type<IConnectionChecker>('connectionChecker');
// Type.CURSOR = new Type('cursor');
static CURSOR = new Type<Cursor>('cursor');
// Type.EVENT = new Type('event');
static EVENT = new Type<Abstract>('event');
// Type.FIELD = new Type('field');
static FIELD = new Type<Field>('field');
// Type.RENDERER = new Type('renderer');
static RENDERER = new Type<Renderer>('renderer');
// Type.TOOLBOX = new Type('toolbox');
static TOOLBOX = new Type<IToolbox>('toolbox');
// Type.THEME = new Type('theme');
static THEME = new Type<Theme>('theme');
// Type.TOOLBOX_ITEM = new Type('toolboxItem');
static TOOLBOX_ITEM = new Type<ToolboxItem>('toolboxItem');
// Type.FLYOUTS_VERTICAL_TOOLBOX = new Type('flyoutsVerticalToolbox');
static FLYOUTS_VERTICAL_TOOLBOX = new Type<IFlyout>('flyoutsVerticalToolbox');
// Type.FLYOUTS_HORIZONTAL_TOOLBOX = new Type('flyoutsHorizontalToolbox');
static FLYOUTS_HORIZONTAL_TOOLBOX =
new Type<IFlyout>('flyoutsHorizontalToolbox');
// Type.METRICS_MANAGER = new Type('metricsManager');
static METRICS_MANAGER = new Type<IMetricsManager>('metricsManager');
// Type.BLOCK_DRAGGER = new Type('blockDragger');
static BLOCK_DRAGGER = new Type<IBlockDragger>('blockDragger');
// Type.SERIALIZER = new Type('serializer');
/** @internal */
static SERIALIZER = new Type<ISerializer>('serializer');
@@ -89,31 +114,11 @@ export class Type<T> {
}
}
// Type.CONNECTION_CHECKER = new Type('connectionChecker');
// Type.CURSOR = new Type('cursor');
// Type.EVENT = new Type('event');
// Type.FIELD = new Type('field');
// Type.RENDERER = new Type('renderer');
// Type.TOOLBOX = new Type('toolbox');
// Type.THEME = new Type('theme');
// Type.TOOLBOX_ITEM = new Type('toolboxItem');
// Type.FLYOUTS_VERTICAL_TOOLBOX = new Type('flyoutsVerticalToolbox');
// Type.FLYOUTS_HORIZONTAL_TOOLBOX = new Type('flyoutsHorizontalToolbox');
// Type.METRICS_MANAGER = new Type('metricsManager');
// Type.BLOCK_DRAGGER = new Type('blockDragger');
// Type.SERIALIZER = new Type('serializer');
/**
* Registers a class based on a type and name.