diff --git a/core/renderers/zelos/info.js b/core/renderers/zelos/info.js index b00488ba8..710b1f6ba 100644 --- a/core/renderers/zelos/info.js +++ b/core/renderers/zelos/info.js @@ -266,7 +266,7 @@ RenderInfo.prototype.addInput_ = function(input, activeRow) { activeRow.align == constants.ALIGN.LEFT && input.align == constants.ALIGN.RIGHT) { activeRow.rightAlignedDummyInput = input; - } else if (input.type == Blockly.inputTypes.STATEMENT) { + } else if (input.type == inputTypes.STATEMENT) { // Handle statements without next connections correctly. activeRow.elements.push( new StatementInput(this.constants_, input)); diff --git a/core/workspace.js b/core/workspace.js index bd00555f1..2b844d5cc 100644 --- a/core/workspace.js +++ b/core/workspace.js @@ -257,7 +257,7 @@ Workspace.prototype.addTypedBlock = function(block) { * @param {!Block} block Block to remove. */ Workspace.prototype.removeTypedBlock = function(block) { - Blockly.utils.arrayRemove(this.typedBlocksDB_[block.type], block); + utils.arrayRemove(this.typedBlocksDB_[block.type], block); if (!this.typedBlocksDB_[block.type].length) { delete this.typedBlocksDB_[block.type]; }