Fix more compiler warnings

This commit is contained in:
Rachel Fenichel
2018-03-14 17:05:19 -07:00
parent 40bb0d1221
commit 90a3730424
2 changed files with 11 additions and 11 deletions

View File

@@ -608,8 +608,8 @@ Blockly.BlockSvg.prototype.renderMoveConnections_ = function() {
/**
* Render the top edge of the block.
* @param {!Array.<string>} steps Path of block outline.
* @param {!Array.<string>} highlightSteps Path of block highlights.
* @param {!Array.<string|number>} steps Path of block outline.
* @param {!Array.<string|number>} 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.<string>} steps Path of block outline.
* @param {!Array.<string>} highlightSteps Path of block highlights.
* @param {!Array.<string>} inlineSteps Inline block outlines.
* @param {!Array.<string>} highlightInlineSteps Inline block highlights.
* @param {!Array.<string|number>} steps Path of block outline.
* @param {!Array.<string|number>} highlightSteps Path of block highlights.
* @param {!Array.<string|number>} inlineSteps Inline block outlines.
* @param {!Array.<string|number>} highlightInlineSteps Inline block highlights.
* @param {!Array.<!Array.<!Object>>} 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.<string>} steps Path of block outline.
* @param {!Array.<string>} highlightSteps Path of block highlights.
* @param {!Array.<string|number>} steps Path of block outline.
* @param {!Array.<string|number>} 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.<string>} steps Path of block outline.
* @param {!Array.<string>} highlightSteps Path of block highlights.
* @param {!Array.<string|number>} steps Path of block outline.
* @param {!Array.<string|number>} highlightSteps Path of block highlights.
* @private
*/
Blockly.BlockSvg.prototype.renderDrawLeft_ = function(steps, highlightSteps) {

View File

@@ -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');