Match docs with code

This commit is contained in:
Gokula Krishna
2018-07-17 14:34:57 +08:00
parent 4860e34f51
commit 7d63b061bc

View File

@@ -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];
}