diff --git a/core/block_svg.js b/core/block_svg.js index 42183cbf8..c34e05894 100644 --- a/core/block_svg.js +++ b/core/block_svg.js @@ -178,34 +178,34 @@ Blockly.BlockSvg.COLLAPSED_WARNING_ID = 'TEMP_COLLAPSED_WARNING_'; // Leftover UI constants from block_render_svg.js. /** * Vertical space between elements. - * TODO (#3142): Remove. * @const * @package */ +// TODO (#3142): Remove. Blockly.BlockSvg.SEP_SPACE_Y = 10; /** * Minimum height of a block. - * TODO (#3142): Remove. * @const * @package */ +// TODO (#3142): Remove. Blockly.BlockSvg.MIN_BLOCK_Y = 25; /** * Width of horizontal puzzle tab. - * TODO (#3142): Remove. * @const * @package */ +// TODO (#3142): Remove. Blockly.BlockSvg.TAB_WIDTH = 8; /** * Do blocks with no previous or output connections have a 'hat' on top? - * TODO (#3142): Remove. * @const * @package */ +// TODO (#3142): Remove. Blockly.BlockSvg.START_HAT = false; /** diff --git a/core/gesture.js b/core/gesture.js index f27dfa982..7308f278a 100644 --- a/core/gesture.js +++ b/core/gesture.js @@ -456,9 +456,9 @@ Blockly.Gesture.prototype.startDraggingBlock_ = function() { /** * Create a bubble dragger and start dragging the selected bubble. - * TODO (fenichel): Possibly combine this and startDraggingBlock_. * @private */ +// TODO (fenichel): Possibly combine this and startDraggingBlock_. Blockly.Gesture.prototype.startDraggingBubble_ = function() { this.bubbleDragger_ = new Blockly.BubbleDragger(this.startBubble_, this.startWorkspace_); diff --git a/core/icon.js b/core/icon.js index 084df886c..cd76e888c 100644 --- a/core/icon.js +++ b/core/icon.js @@ -185,9 +185,9 @@ Blockly.Icon.prototype.getIconLocation = function() { * Get the size of the icon as used for rendering. * This differs from the actual size of the icon, because it bulges slightly * out of its row rather than increasing the height of its row. - * TODO (#2562): Remove getCorrectedSize. * @return {!Blockly.utils.Size} Height and width. */ +// TODO (#2562): Remove getCorrectedSize. Blockly.Icon.prototype.getCorrectedSize = function() { return new Blockly.utils.Size( Blockly.Icon.prototype.SIZE, Blockly.Icon.prototype.SIZE - 2); diff --git a/core/renderers/common/info.js b/core/renderers/common/info.js index 2819623d7..5e5530274 100644 --- a/core/renderers/common/info.js +++ b/core/renderers/common/info.js @@ -457,9 +457,9 @@ Blockly.blockRendering.RenderInfo.prototype.getInRowSpacing_ = function(prev, ne /** * Figure out where the right edge of the block and right edge of statement inputs * should be placed. - * TODO: More cleanup. * @protected */ +// TODO: More cleanup. Blockly.blockRendering.RenderInfo.prototype.computeBounds_ = function() { var widestStatementRowFields = 0; var blockWidth = 0; diff --git a/core/renderers/measurables/rows.js b/core/renderers/measurables/rows.js index 3783a0f4c..7b85ae0f0 100644 --- a/core/renderers/measurables/rows.js +++ b/core/renderers/measurables/rows.js @@ -166,11 +166,11 @@ Blockly.blockRendering.Row.prototype.measure = function() { /** * Get the last input on this row, if it has one. - * TODO: Consider moving this to InputRow, if possible. * @return {Blockly.blockRendering.InputConnection} The last input on the row, * or null. * @package */ +// TODO: Consider moving this to InputRow, if possible. Blockly.blockRendering.Row.prototype.getLastInput = function() { for (var i = this.elements.length - 1, elem; (elem = this.elements[i]); i--) { if (Blockly.blockRendering.Types.isInput(elem)) {