Skip to content

Commit

Permalink
Fix deleteAllOfList
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyMakesThings authored Feb 12, 2024
1 parent 7ccabba commit 1b13c90
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions core/data_category.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Blockly.DataCategory = function(workspace) {
Blockly.DataCategory.addAddToList(xmlList, firstVariable);
Blockly.DataCategory.addSep(xmlList);
Blockly.DataCategory.addDeleteOfList(xmlList, firstVariable);
Blockly.DataCategory.addDeleteAllOfList(xmlList, firstVariable);
// Blockly.DataCategory.addDeleteAllOfList(xmlList, firstVariable);

Check failure on line 79 in core/data_category.js

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 4 spaces but found 0
Blockly.DataCategory.addInsertAtList(xmlList, firstVariable);
Blockly.DataCategory.addReplaceItemOfList(xmlList, firstVariable);
Blockly.DataCategory.addSep(xmlList);
Expand Down Expand Up @@ -233,13 +233,13 @@ Blockly.DataCategory.addDeleteOfList = function(xmlList, variable) {
* @param {?Blockly.VariableModel} variable Variable to select in the field.
*/

//Blockly.DataCategory.addDeleteAllOfList = function(xmlList, variable) {
// // <block type="data_deletealloflist">
// // <field name="LIST" variabletype="list" id="">variablename</field>
// // </block>
// Blockly.DataCategory.addBlock(xmlList, variable, 'data_deletealloflist',
// 'LIST');
//};
Blockly.DataCategory.addDeleteAllOfList = function(xmlList, variable) {
// <block type="data_deletealloflist">
// <field name="LIST" variabletype="list" id="">variablename</field>
// </block>
Blockly.DataCategory.addBlock(xmlList, variable, 'data_deletealloflist',
'LIST');
};

/**
* Construct and add a data_insertatlist block to xmlList.
Expand Down

0 comments on commit 1b13c90

Please sign in to comment.