mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
Fix lint
This commit is contained in:
@@ -13,9 +13,12 @@
|
||||
goog.module('Blockly.FieldVariable');
|
||||
goog.module.declareLegacyNamespace();
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Block = goog.requireType('Blockly.Block');
|
||||
const FieldDropdown = goog.require('Blockly.FieldDropdown');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Menu = goog.requireType('Blockly.Menu');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const MenuItem = goog.requireType('Blockly.MenuItem');
|
||||
const Msg = goog.require('Blockly.Msg');
|
||||
const Size = goog.require('Blockly.utils.Size');
|
||||
|
||||
@@ -22,6 +22,7 @@ const BubbleDragger = goog.require('Blockly.BubbleDragger');
|
||||
const Coordinate = goog.require('Blockly.utils.Coordinate');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Events = goog.require('Blockly.Events');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Field = goog.requireType('Blockly.Field');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const IBlockDragger = goog.requireType('Blockly.IBlockDragger');
|
||||
@@ -33,6 +34,7 @@ const Tooltip = goog.require('Blockly.Tooltip');
|
||||
const Touch = goog.require('Blockly.Touch');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Workspace = goog.require('Blockly.Workspace');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const WorkspaceSvg = goog.requireType('Blockly.WorkspaceSvg');
|
||||
const WorkspaceDragger = goog.require('Blockly.WorkspaceDragger');
|
||||
const blockAnimations = goog.require('Blockly.blockAnimations');
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
goog.module('Blockly.ZoomControls');
|
||||
goog.module.declareLegacyNamespace();
|
||||
|
||||
const Blockly = goog.require('Blockly');
|
||||
const ComponentManager = goog.require('Blockly.ComponentManager');
|
||||
const Css = goog.require('Blockly.Css');
|
||||
const Events = goog.require('Blockly.Events');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const IPositionable = goog.require('Blockly.IPositionable');
|
||||
const Rect = goog.require('Blockly.utils.Rect');
|
||||
const Svg = goog.require('Blockly.utils.Svg');
|
||||
@@ -54,7 +54,7 @@ const ZoomControls = function(workspace) {
|
||||
|
||||
/**
|
||||
* A handle to use to unbind the mouse down event handler for zoom reset
|
||||
* button. Opaque data returned from Blockly.bindEventWithChecks_.
|
||||
* button. Opaque data returned from browserEvents.conditionalBind.
|
||||
* @type {?browserEvents.Data}
|
||||
* @private
|
||||
*/
|
||||
@@ -62,7 +62,7 @@ const ZoomControls = function(workspace) {
|
||||
|
||||
/**
|
||||
* A handle to use to unbind the mouse down event handler for zoom in button.
|
||||
* Opaque data returned from Blockly.bindEventWithChecks_.
|
||||
* Opaque data returned from browserEvents.conditionalBind.
|
||||
* @type {?browserEvents.Data}
|
||||
* @private
|
||||
*/
|
||||
@@ -70,7 +70,7 @@ const ZoomControls = function(workspace) {
|
||||
|
||||
/**
|
||||
* A handle to use to unbind the mouse down event handler for zoom out button.
|
||||
* Opaque data returned from Blockly.bindEventWithChecks_.
|
||||
* Opaque data returned from browserEvents.conditionalBind.
|
||||
* @type {?browserEvents.Data}
|
||||
* @private
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user