mirror of
https://github.com/google/blockly.git
synced 2026-01-20 23:37:09 +01:00
Adding test and updating TODO. (#3102)
* Adding test and updating TODO. * changing bug number referenced in TODO
This commit is contained in:
committed by
Sam El-Husseini
parent
40e0d55187
commit
f4136fdc2a
@@ -578,7 +578,7 @@ Blockly.Workspace.prototype.variableIndexOf = function(_name) {
|
||||
* defaults to the empty string, which is a specific type.
|
||||
* @return {Blockly.VariableModel} The variable with the given name.
|
||||
*/
|
||||
// TODO (#1199): Possibly delete this function.
|
||||
// TODO (#1559): Possibly delete this function after resolving #1559.
|
||||
Blockly.Workspace.prototype.getVariable = function(name, opt_type) {
|
||||
return this.variableMap_.getVariable(name, opt_type);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user