Merge pull request #1651 from AnmAtAnm/rm-todos-in-docs

Moving TODO from doc comment to single line comment.
This commit is contained in:
Rachel Fenichel
2018-02-21 11:06:31 -08:00
committed by GitHub

View File

@@ -277,12 +277,12 @@ Blockly.Workspace.prototype.variableIndexOf = function(
/**
* Find the variable by the given name and return it. Return null if it is not
* found.
* TODO (#1199): Possibly delete this function.
* @param {!string} name The name to check for.
* @param {string=} opt_type The type of the variable. If not provided it
* 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.
Blockly.Workspace.prototype.getVariable = function(name, opt_type) {
return this.variableMap_.getVariable(name, opt_type);
};