Update jsdoc

This commit is contained in:
Beka Westberg
2021-07-07 14:42:18 +00:00
parent 0cb4fe1d3a
commit a589cd6923
2 changed files with 21 additions and 9 deletions

View File

@@ -739,6 +739,7 @@ Blockly.Block.prototype.getChildren = function(ordered) {
/**
* Set parent of this block to be a new block or null.
* @param {Blockly.Block} newParent New parent block.
* @package
*/
Blockly.Block.prototype.setParent = function(newParent) {
if (newParent == this.parentBlock_) {
@@ -850,6 +851,7 @@ Blockly.Block.prototype.isShadow = function() {
/**
* Set whether this block is a shadow block or not.
* @param {boolean} shadow True if a shadow.
* @package
*/
Blockly.Block.prototype.setShadow = function(shadow) {
this.isShadow_ = shadow;