mirror of
https://github.com/google/blockly.git
synced 2026-01-11 10:57:07 +01:00
Correcting annotations of procedure block mixin functions.
This commit is contained in:
@@ -282,6 +282,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
|
||||
* @param {string} newId ID of new variable. May be the same as oldId, but
|
||||
* with an updated name. Guaranteed to be the same type as the old
|
||||
* variable.
|
||||
* @override
|
||||
* @this Blockly.Block
|
||||
*/
|
||||
renameVarById: function(oldId, newId) {
|
||||
@@ -310,6 +311,8 @@ Blockly.Blocks['procedures_defnoreturn'] = {
|
||||
* variable is in use on this block, rerender to show the new name.
|
||||
* @param {!Blockly.VariableModel} variable The variable being renamed.
|
||||
* @package
|
||||
* @override
|
||||
* @this Blockly.Block
|
||||
*/
|
||||
updateVarName: function(variable) {
|
||||
var newName = variable.name;
|
||||
|
||||
Reference in New Issue
Block a user