diff --git a/core/block.js b/core/block.js index dc1edd6ce..15f106d3d 100644 --- a/core/block.js +++ b/core/block.js @@ -313,6 +313,7 @@ Blockly.Block.prototype.getDeveloperVariables; * @param {boolean} healStack If true, then try to heal any gap by connecting * the next statement with the previous statement. Otherwise, dispose of * all children of this block. + * @suppress {checkTypes} */ Blockly.Block.prototype.dispose = function(healStack) { if (!this.workspace) { diff --git a/core/block_svg.js b/core/block_svg.js index 92a7735c7..06bf90cd7 100644 --- a/core/block_svg.js +++ b/core/block_svg.js @@ -1009,6 +1009,7 @@ Blockly.BlockSvg.prototype.getSvgRoot = function() { * the next statement with the previous statement. Otherwise, dispose of * all children of this block. * @param {boolean=} animate If true, show a disposal animation and sound. + * @suppress {checkTypes} */ Blockly.BlockSvg.prototype.dispose = function(healStack, animate) { if (!this.workspace) { diff --git a/core/bubble_dragger.js b/core/bubble_dragger.js index c4cc6910d..9864f61af 100644 --- a/core/bubble_dragger.js +++ b/core/bubble_dragger.js @@ -92,6 +92,7 @@ Blockly.BubbleDragger = function(bubble, workspace) { /** * Sever all links from this object. * @package + * @suppress {checkTypes} */ Blockly.BubbleDragger.prototype.dispose = function() { this.draggingBubble_ = null; diff --git a/core/flyout_base.js b/core/flyout_base.js index 349322715..61202150e 100644 --- a/core/flyout_base.js +++ b/core/flyout_base.js @@ -276,6 +276,7 @@ Blockly.Flyout.prototype.init = function(targetWorkspace) { /** * Dispose of this flyout. * Unlink from all DOM elements to prevent memory leaks. + * @suppress {checkTypes} */ Blockly.Flyout.prototype.dispose = function() { this.hide(); diff --git a/core/grid.js b/core/grid.js index 3311264c4..3b036f493 100644 --- a/core/grid.js +++ b/core/grid.js @@ -92,6 +92,7 @@ Blockly.Grid.prototype.scale_ = 1; /** * Dispose of this grid and unlink from the DOM. * @package + * @suppress {checkTypes} */ Blockly.Grid.prototype.dispose = function() { this.gridPattern_ = null; diff --git a/core/input.js b/core/input.js index 22278605b..9326d05de 100644 --- a/core/input.js +++ b/core/input.js @@ -258,6 +258,7 @@ Blockly.Input.prototype.init = function() { /** * Sever all links to this input. + * @suppress {checkTypes} */ Blockly.Input.prototype.dispose = function() { for (var i = 0, field; field = this.fieldRow[i]; i++) { diff --git a/core/trashcan.js b/core/trashcan.js index 0032e4712..e6e577a3a 100644 --- a/core/trashcan.js +++ b/core/trashcan.js @@ -303,6 +303,7 @@ Blockly.Trashcan.prototype.init = function(verticalSpacing) { /** * Dispose of this trash can. * Unlink from all DOM elements to prevent memory leaks. + * @suppress {checkTypes} */ Blockly.Trashcan.prototype.dispose = function() { if (this.svgGroup_) { diff --git a/core/workspace_dragger.js b/core/workspace_dragger.js index 01b97955f..8d4d10568 100644 --- a/core/workspace_dragger.js +++ b/core/workspace_dragger.js @@ -55,6 +55,7 @@ Blockly.WorkspaceDragger = function(workspace) { /** * Sever all links from this object. * @package + * @suppress {checkTypes} */ Blockly.WorkspaceDragger.prototype.dispose = function() { this.workspace_ = null; diff --git a/core/workspace_svg.js b/core/workspace_svg.js index d5d8143c6..aee610986 100644 --- a/core/workspace_svg.js +++ b/core/workspace_svg.js @@ -680,6 +680,7 @@ Blockly.WorkspaceSvg.prototype.createDom = function(opt_backgroundClass) { /** * Dispose of this workspace. * Unlink from all DOM elements to prevent memory leaks. + * @suppress {checkTypes} */ Blockly.WorkspaceSvg.prototype.dispose = function() { // Stop rerendering.