Fix three new and ten existing Closure warnings.

Current count: 638
This commit is contained in:
Neil Fraser
2019-06-06 15:39:50 -07:00
committed by Neil Fraser
parent 42b4897f0e
commit cf91b82bb0
8 changed files with 19 additions and 15 deletions

View File

@@ -41,7 +41,6 @@ goog.provide('Blockly.utils.Rect');
* @param {number} h Height.
* @struct
* @constructor
* @implements {goog.math.IRect}
*/
Blockly.utils.Rect = function(x, y, w, h) {
/** @type {number} */
@@ -58,8 +57,7 @@ Blockly.utils.Rect = function(x, y, w, h) {
};
/**
* Tests whether this rectangle entirely contains another rectangle or
* coordinate.
* Tests whether this rectangle contains a x/y coordinate.
*
* @param {number} x The x coordinate to test for containment.
* @param {number} y The y coordinate to test for containment.