From 6c2d63300d879fa298aea0a283435839b96e1952 Mon Sep 17 00:00:00 2001 From: Johnny Yang Date: Mon, 16 Apr 2018 01:33:04 +1000 Subject: [PATCH] mark properties @protected instead of @private so they can be used by Blockly.BlockSvg --- core/block.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/block.js b/core/block.js index 5c244cf8c..249e48125 100644 --- a/core/block.js +++ b/core/block.js @@ -87,13 +87,13 @@ Blockly.Block = function(workspace, prototypeName, opt_id) { /** * @type {Blockly.Block} - * @private + * @protected */ this.parentBlock_ = null; /** * @type {!Array.} - * @private + * @protected */ this.childBlocks_ = []; @@ -123,7 +123,7 @@ Blockly.Block = function(workspace, prototypeName, opt_id) { /** * @type {boolean} - * @private + * @protected */ this.collapsed_ = false; @@ -382,7 +382,7 @@ Blockly.Block.prototype.lastConnectionInStack_ = function() { /** * Bump unconnected blocks out of alignment. Two blocks which aren't actually * connected should not coincidentally line up on screen. - * @private + * @protected */ Blockly.Block.prototype.bumpNeighbours_ = function() { console.warn('Not expected to reach this bumpNeighbours_ function. The ' + @@ -1290,7 +1290,7 @@ Blockly.Block.prototype.interpolate_ = function(message, args, lastDummyAlign) { * @param {string} name Language-neutral identifier which may used to find this * input again. Should be unique to this block. * @return {!Blockly.Input} The input object created. - * @private + * @protected */ Blockly.Block.prototype.appendInput_ = function(type, name) { var connection = null;