Skip to content

Commit

Permalink
Revert "well ewrm that wont work"
Browse files Browse the repository at this point in the history
This reverts commit 16cd499.
  • Loading branch information
JeremyGamer13 committed Apr 19, 2024
1 parent 11bb7bc commit 784e552
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,6 @@ Blockly.Block.prototype.appendInput_ = function(type, name, opt_defaultBlock) {
if (type == Blockly.INPUT_VALUE || type == Blockly.NEXT_STATEMENT) {
connection = this.makeConnection_(type);
}
/*
if (opt_defaultBlock) {
var newBlock = this.workspace.newBlock(opt_defaultBlock.type)
newBlock.initSvg()
Expand All @@ -1528,7 +1527,6 @@ Blockly.Block.prototype.appendInput_ = function(type, name, opt_defaultBlock) {
newBlock.outputConnection.connect(connection)
newBlock.render()
}
*/
var input = new Blockly.Input(type, name, this, connection);
// Append input to list.
this.inputList.push(input);
Expand Down

0 comments on commit 784e552

Please sign in to comment.