Remove references to fully qualified namespace

This commit is contained in:
kozbial
2021-09-22 09:37:47 -07:00
parent fd251dae22
commit 900dfc7c68
2 changed files with 2 additions and 2 deletions

View File

@@ -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));

View File

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