mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Fix more compiler warnings
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user