From 4967155285c5f0a12990a9d48516dd5c952f1252 Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Wed, 27 Jun 2018 10:44:28 -0400 Subject: [PATCH] Fix nits --- src/serialization/sb2.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/serialization/sb2.js b/src/serialization/sb2.js index d9dced0f7..5e638be00 100644 --- a/src/serialization/sb2.js +++ b/src/serialization/sb2.js @@ -133,7 +133,6 @@ const parseBlockList = function (blockList, addBroadcastMsg, getVariableId, exte // eslint-disable-next-line no-use-before-define const parsedBlockAndComments = parseBlock(block, addBroadcastMsg, getVariableId, extensions, comments, commentIndex); - const parsedBlock = parsedBlockAndComments[0]; // Update commentIndex commentIndex = parsedBlockAndComments[1]; @@ -711,8 +710,9 @@ const parseBlock = function (sb2block, addBroadcastMsg, getVariableId, extension comments[commentIndex] : null; const blockMetadata = specMapBlock(sb2block); if (!blockMetadata) { - // No block opcode found, exclude this block, increment the comment id and - // send all linked comments back to zero/zero to prevent serialization issues. + // No block opcode found, exclude this block, increment the comment id, + // make all block comments into workspace comments and send them to zero/zero + // to prevent serialization issues. if (commentsForParsedBlock) { commentsForParsedBlock.forEach(comment => { comment.blockId = null;