From 90a373042407fa8da190f7fc937391acfb5ea6da Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Wed, 14 Mar 2018 17:05:19 -0700 Subject: [PATCH] Fix more compiler warnings --- core/block_render_svg.js | 20 ++++++++++---------- core/utils.js | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/core/block_render_svg.js b/core/block_render_svg.js index 2166860b0..355f1dc64 100644 --- a/core/block_render_svg.js +++ b/core/block_render_svg.js @@ -608,8 +608,8 @@ Blockly.BlockSvg.prototype.renderMoveConnections_ = function() { /** * Render the top edge of the block. - * @param {!Array.} steps Path of block outline. - * @param {!Array.} highlightSteps Path of block highlights. + * @param {!Array.} steps Path of block outline. + * @param {!Array.} highlightSteps Path of block highlights. * @param {number} rightEdge Minimum width of block. * @private */ @@ -653,10 +653,10 @@ Blockly.BlockSvg.prototype.renderDrawTop_ = function(steps, /** * Render the right edge of the block. - * @param {!Array.} steps Path of block outline. - * @param {!Array.} highlightSteps Path of block highlights. - * @param {!Array.} inlineSteps Inline block outlines. - * @param {!Array.} highlightInlineSteps Inline block highlights. + * @param {!Array.} steps Path of block outline. + * @param {!Array.} highlightSteps Path of block highlights. + * @param {!Array.} inlineSteps Inline block outlines. + * @param {!Array.} highlightInlineSteps Inline block highlights. * @param {!Array.>} inputRows 2D array of objects, each * containing position information. * @param {number} iconWidth Offset of first row due to icons. @@ -909,8 +909,8 @@ Blockly.BlockSvg.prototype.renderDrawRight_ = function(steps, highlightSteps, /** * Render the bottom edge of the block. - * @param {!Array.} steps Path of block outline. - * @param {!Array.} highlightSteps Path of block highlights. + * @param {!Array.} steps Path of block outline. + * @param {!Array.} highlightSteps Path of block highlights. * @param {number} cursorY Height of block. * @private */ @@ -955,8 +955,8 @@ Blockly.BlockSvg.prototype.renderDrawBottom_ = function(steps, /** * Render the left edge of the block. - * @param {!Array.} steps Path of block outline. - * @param {!Array.} highlightSteps Path of block highlights. + * @param {!Array.} steps Path of block outline. + * @param {!Array.} highlightSteps Path of block highlights. * @private */ Blockly.BlockSvg.prototype.renderDrawLeft_ = function(steps, highlightSteps) { diff --git a/core/utils.js b/core/utils.js index 030079e9b..54b5d8abf 100644 --- a/core/utils.js +++ b/core/utils.js @@ -122,7 +122,7 @@ Blockly.utils.removeClass = function(element, className) { * @param {!Element} element DOM element to check. * @param {string} className Name of class to check. * @return {boolean} True if class exists, false otherwise. - * @private + * @package */ Blockly.utils.hasClass = function(element, className) { var classes = element.getAttribute('class');