From c7c9580c51b5c989acbec253efef14a279ddf0fc Mon Sep 17 00:00:00 2001 From: Andrew n marshall Date: Thu, 23 Aug 2018 16:00:11 -0700 Subject: [PATCH] Rephrase comment, adding date. --- core/variables.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/variables.js b/core/variables.js index e4d346823..aa8a29fe4 100644 --- a/core/variables.js +++ b/core/variables.js @@ -114,8 +114,8 @@ Blockly.Variables.allDeveloperVariables = function(workspace) { var block = blocks[i]; var getDeveloperVariables = block.getDeveloperVariables; if (!getDeveloperVariables && block.getDeveloperVars) { - // getDeveloperVars was renamed getDeveloperVariables, already - // existing documentation. + // August 2018: getDeveloperVars() was deprecated and renamed + // getDeveloperVariables(). getDeveloperVariables = block.getDeveloperVars; if (!Blockly.Variables.ALL_DEVELOPER_VARS_WARNINGS_BY_BLOCK_TYPE_[ block.type]) {