From 88d8b1a2dcef40afcb53b1038bba2098b6de2876 Mon Sep 17 00:00:00 2001 From: Cassidy <62119269+systemc12ashe@users.noreply.github.com> Date: Thu, 9 Nov 2023 19:25:43 -0500 Subject: [PATCH 1/3] fix: update setShadow TSDoc for Block and BlockSvg --- core/block.ts | 1 + core/block_svg.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/core/block.ts b/core/block.ts index d57043e558a..481622cd052 100644 --- a/core/block.ts +++ b/core/block.ts @@ -865,6 +865,7 @@ export class Block implements IASTNodeLocation, IDeletable { /** * Set whether this block is a shadow block or not. + * This method is internal and should not be called by users of Blockly. To create shadow blocks programmatically call connection.setShadowState * * @param shadow True if a shadow. * @internal diff --git a/core/block_svg.ts b/core/block_svg.ts index 5ead73340d7..46e58ccae89 100644 --- a/core/block_svg.ts +++ b/core/block_svg.ts @@ -755,6 +755,7 @@ export class BlockSvg /** * Sets whether this block is a shadow block or not. + * This method is internal and should not be called by users of Blockly. To create shadow blocks programmatically call connection.setShadowState * * @param shadow True if a shadow. * @internal From bc69f77223429a2a61b495b01e3fadda493841f0 Mon Sep 17 00:00:00 2001 From: Cassidy <62119269+systemc12ashe@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:51:08 -0500 Subject: [PATCH 2/3] fix: Wrap comment lines at col 80 --- core/block.ts | 3 ++- core/block_svg.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/block.ts b/core/block.ts index 481622cd052..146b75cb258 100644 --- a/core/block.ts +++ b/core/block.ts @@ -865,7 +865,8 @@ export class Block implements IASTNodeLocation, IDeletable { /** * Set whether this block is a shadow block or not. - * This method is internal and should not be called by users of Blockly. To create shadow blocks programmatically call connection.setShadowState + * This method is internal and should not be called by users of Blockly. To + * create shadow blocks programmatically call connection.setShadowState * * @param shadow True if a shadow. * @internal diff --git a/core/block_svg.ts b/core/block_svg.ts index 46e58ccae89..2a8d9349156 100644 --- a/core/block_svg.ts +++ b/core/block_svg.ts @@ -755,7 +755,8 @@ export class BlockSvg /** * Sets whether this block is a shadow block or not. - * This method is internal and should not be called by users of Blockly. To create shadow blocks programmatically call connection.setShadowState + * This method is internal and should not be called by users of Blockly. To + * create shadow blocks programmatically call connection.setShadowState * * @param shadow True if a shadow. * @internal From 6bf4053f97fed6b3844915b113fdea031551500e Mon Sep 17 00:00:00 2001 From: Cassidy <62119269+systemc12ashe@users.noreply.github.com> Date: Fri, 10 Nov 2023 13:03:02 -0500 Subject: [PATCH 3/3] fix: Corrected formatting with Prettier --- core/block.ts | 2 +- core/block_svg.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/block.ts b/core/block.ts index 146b75cb258..8f64b20a270 100644 --- a/core/block.ts +++ b/core/block.ts @@ -865,7 +865,7 @@ export class Block implements IASTNodeLocation, IDeletable { /** * Set whether this block is a shadow block or not. - * This method is internal and should not be called by users of Blockly. To + * This method is internal and should not be called by users of Blockly. To * create shadow blocks programmatically call connection.setShadowState * * @param shadow True if a shadow. diff --git a/core/block_svg.ts b/core/block_svg.ts index 2a8d9349156..2ec157fa82e 100644 --- a/core/block_svg.ts +++ b/core/block_svg.ts @@ -755,7 +755,7 @@ export class BlockSvg /** * Sets whether this block is a shadow block or not. - * This method is internal and should not be called by users of Blockly. To + * This method is internal and should not be called by users of Blockly. To * create shadow blocks programmatically call connection.setShadowState * * @param shadow True if a shadow.