Delete some deprecated functions

This commit is contained in:
Rachel Fenichel
2020-09-28 13:09:19 -07:00
parent 3b364976aa
commit 3bf8a38020
2 changed files with 1 additions and 29 deletions

View File

@@ -1134,20 +1134,6 @@ Blockly.BlockSvg.prototype.setMutator = function(mutator) {
}
};
/**
* Set whether the block is disabled or not.
* @param {boolean} disabled True if disabled.
* @deprecated May 2019
*/
Blockly.BlockSvg.prototype.setDisabled = function(disabled) {
Blockly.utils.deprecation.warn(
'BlockSvg.prototype.setDisabled',
'May 2019',
'May 2020',
'BlockSvg.prototype.setEnabled');
this.setEnabled(!disabled);
};
/**
* Set whether the block is enabled or not.
* @param {boolean} enabled True if enabled.