mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
Lint
This commit is contained in:
@@ -608,8 +608,8 @@ Blockly.ASTNode.prototype.in = function() {
|
||||
return Blockly.ASTNode.createConnectionNode(targetConnection);
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
return null;
|
||||
};
|
||||
|
||||
@@ -682,9 +682,8 @@ Blockly.ASTNode.prototype.out = function() {
|
||||
var target = this.location_.targetConnection;
|
||||
if (target) {
|
||||
return Blockly.ASTNode.createConnectionNode(target);
|
||||
} else {
|
||||
return Blockly.ASTNode.createStackNode(this.location_.getSourceBlock());
|
||||
}
|
||||
return Blockly.ASTNode.createStackNode(this.location_.getSourceBlock());
|
||||
|
||||
case Blockly.ASTNode.types.FIELD:
|
||||
return Blockly.ASTNode.createBlockNode(this.location_.getSourceBlock());
|
||||
|
||||
@@ -254,7 +254,7 @@ BlockExporterController.prototype.selectUsedBlocks = function() {
|
||||
this.view.listSelectedBlocks();
|
||||
|
||||
if (unstoredCustomBlockTypes.length > 0) {
|
||||
// Warn user to import block defifnitions and generator code for blocks
|
||||
// Warn user to import block definitions and generator code for blocks
|
||||
// not in their Block Library nor Blockly's standard library.
|
||||
var blockTypesText = unstoredCustomBlockTypes.join(', ');
|
||||
var customWarning = 'Custom blocks used in workspace factory but not ' +
|
||||
|
||||
Reference in New Issue
Block a user