diff --git a/core/procedures.js b/core/procedures.js index aa8f1faa5..24de0306e 100644 --- a/core/procedures.js +++ b/core/procedures.js @@ -37,6 +37,13 @@ goog.require('Blockly.Names'); goog.require('Blockly.Workspace'); +/** + * Constant to separate procedure names from variables and generated functions + * when running generators. + * @deprecated Use Blockly.PROCEDURE_CATEGORY_NAME + */ +Blockly.Procedures.NAME_TYPE = Blockly.PROCEDURE_CATEOGORY_NAME; + /** * Find all user-created procedure definitions in a workspace. * @param {!Blockly.Workspace} root Root workspace. diff --git a/core/variables.js b/core/variables.js index e1312864b..e4d3556e7 100644 --- a/core/variables.js +++ b/core/variables.js @@ -36,6 +36,13 @@ goog.require('Blockly.Workspace'); goog.require('goog.string'); +/** + * Constant to separate variable names from procedures and generated functions + * when running generators. + * @deprecated Use Blockly.VARIABLE_CATEGORY_NAME + */ +Blockly.Variables.NAME_TYPE = Blockly.VARIABLE_CATEGORY_NAME; + /** * Find all user-created variables that are in use in the workspace. * For use by generators.