mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Remove unused field clone.
This commit is contained in:
parent
98a76a62db
commit
45fd0e9d44
10 changed files with 0 additions and 93 deletions
|
@ -45,15 +45,6 @@ Blockly.FieldLabel = function(text) {
|
|||
};
|
||||
goog.inherits(Blockly.FieldLabel, Blockly.Field);
|
||||
|
||||
/**
|
||||
* Clone this FieldLabel.
|
||||
* @return {!Blockly.FieldLabel} The result of calling the constructor again
|
||||
* with the current values of the arguments used during construction.
|
||||
*/
|
||||
Blockly.FieldLabel.prototype.clone = function() {
|
||||
return new Blockly.FieldLabel(this.getText());
|
||||
};
|
||||
|
||||
/**
|
||||
* Editable fields are saved by the XML renderer, non-editable fields are not.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue