From 7d63b061bc811d12d02facc89c0b539b5aab34b3 Mon Sep 17 00:00:00 2001 From: Gokula Krishna Date: Tue, 17 Jul 2018 14:34:57 +0800 Subject: [PATCH] Match docs with code --- core/variables.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/variables.js b/core/variables.js index fe66eafc6..5754be083 100644 --- a/core/variables.js +++ b/core/variables.js @@ -106,8 +106,8 @@ Blockly.Variables.allDeveloperVariables = function(workspace) { var hash = {}; for (var i = 0; i < blocks.length; i++) { var block = blocks[i]; - if (block.getDeveloperVars) { - var devVars = block.getDeveloperVars(); + if (block.getDeveloperVariables) { + var devVars = block.getDeveloperVariables(); for (var j = 0; j < devVars.length; j++) { hash[devVars[j]] = devVars[j]; }