mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Suppress spurious eslint error
eslint appears to be confused by the leading JSDoc comment on the continuation line and suggests it should be indented only 4 rather than 8 spaces.
This commit is contained in:
@@ -191,6 +191,7 @@ Blockly.ContextMenuItems.addDeletableBlocks_ = function(block, deleteList) {
|
||||
if (block.isDeletable()) {
|
||||
Array.prototype.push.apply(deleteList, block.getDescendants(false));
|
||||
} else {
|
||||
/* eslint-disable indent */
|
||||
var children =
|
||||
/** @type {!Array<!Blockly.BlockSvg>} */ (block.getChildren(false));
|
||||
for (var i = 0; i < children.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user