Lint issues found while debugging.

This commit is contained in:
Neil Fraser
2019-03-27 15:25:15 -07:00
committed by Neil Fraser
parent dbafdcf1ff
commit 405b1e4e78
19 changed files with 97 additions and 113 deletions

View File

@@ -252,7 +252,7 @@ Blockly.Extensions.checkBlockHasMutatorProperties_ = function(errorPrefix,
/**
* Get a list of values of mutator properties on the given block.
* @param {!Blockly.Block} block The block to inspect.
* @return {!Array.<Object>} a list with all of the defined properties, which
* @return {!Array.<Object>} A list with all of the defined properties, which
* should be functions, but may be anything other than undefined.
* @private
*/
@@ -385,7 +385,7 @@ Blockly.Extensions.checkDropdownOptionsInTable_ = function(block, dropdownName,
var optionKey = options[i][1]; // label, then value
if (lookupTable[optionKey] == null) {
console.warn('No tooltip mapping for value ' + optionKey +
' of field ' + dropdownName + ' of block type ' + block.type);
' of field ' + dropdownName + ' of block type ' + block.type);
}
}
}