mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
Remove references to fully qualified namespace
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user