mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
Make colour optional in JSON. Add ;/n in generator stub.
This commit is contained in:
@@ -647,7 +647,7 @@ Blockly.Blocks['procedures_callnoreturn'] = {
|
||||
for (var i = 0; i < this.arguments_.length; i++) {
|
||||
if (Blockly.Names.equals(oldName, this.arguments_[i])) {
|
||||
this.arguments_[i] = newName;
|
||||
this.getInput('ARG' + i).fieldRow[0].setText(newName);
|
||||
this.getInput('ARG' + i).fieldRow[0].setValue(newName);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user