Skip to content

Commit

Permalink
Revert "that might be it?"
Browse files Browse the repository at this point in the history
This reverts commit 7228ed6.
  • Loading branch information
JeremyGamer13 committed Apr 19, 2024
1 parent b5d4b1d commit 11bb7bc
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 193 deletions.
11 changes: 0 additions & 11 deletions blocks_vertical/control.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ Blockly.Blocks['control_repeat'] = {
"name": "TIMES",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 10
}
}
Expand Down Expand Up @@ -128,7 +127,6 @@ Blockly.Blocks['control_repeatForSeconds'] = {
"name": "TIMES",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
}
Expand Down Expand Up @@ -268,7 +266,6 @@ Blockly.Blocks['control_throw_error'] = {
"name": "ERROR",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "Hello!"
}
}
Expand Down Expand Up @@ -363,7 +360,6 @@ Blockly.Blocks['control_wait'] = {
"name": "DURATION",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
}
Expand All @@ -389,7 +385,6 @@ Blockly.Blocks['control_waitsecondsoruntil'] = {
"name": "DURATION",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
},
Expand Down Expand Up @@ -543,7 +538,6 @@ Blockly.Blocks['control_for_each'] = {
"name": "VALUE",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 10
}
}
Expand Down Expand Up @@ -840,7 +834,6 @@ Blockly.Blocks['control_set_counter'] = {
"name": "VALUE",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 10
}
}
Expand Down Expand Up @@ -950,7 +943,6 @@ Blockly.Blocks["control_if_return_else_return"] = {
"name": "TEXT1",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "foo"
}
},
Expand All @@ -959,7 +951,6 @@ Blockly.Blocks["control_if_return_else_return"] = {
"name": "TEXT2",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "bar"
}
}
Expand Down Expand Up @@ -1038,7 +1029,6 @@ Blockly.Blocks['control_case'] = {
"name": "CONDITION",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "ello"
}
}
Expand Down Expand Up @@ -1066,7 +1056,6 @@ Blockly.Blocks['control_case_next'] = {
"name": "CONDITION",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "ello"
}
}
Expand Down
13 changes: 0 additions & 13 deletions blocks_vertical/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ Blockly.Blocks['data_setvariableto'] = {
"name": "VALUE",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "0"
}
}
Expand Down Expand Up @@ -102,7 +101,6 @@ Blockly.Blocks['data_changevariableby'] = {
"name": "VALUE",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
}
Expand Down Expand Up @@ -254,7 +252,6 @@ Blockly.Blocks['data_addtolist'] = {
"name": "ITEM",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "thing"
}
},
Expand Down Expand Up @@ -284,7 +281,6 @@ Blockly.Blocks['data_deleteoflist'] = {
"name": "INDEX",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
},
Expand Down Expand Up @@ -335,7 +331,6 @@ Blockly.Blocks['data_insertatlist'] = {
"name": "ITEM",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "thing"
}
},
Expand All @@ -344,7 +339,6 @@ Blockly.Blocks['data_insertatlist'] = {
"name": "INDEX",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
},
Expand Down Expand Up @@ -374,7 +368,6 @@ Blockly.Blocks['data_replaceitemoflist'] = {
"name": "INDEX",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
},
Expand All @@ -388,7 +381,6 @@ Blockly.Blocks['data_replaceitemoflist'] = {
"name": "ITEM",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "thing"
}
}
Expand All @@ -413,7 +405,6 @@ Blockly.Blocks['data_itemoflist'] = {
"name": "INDEX",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
},
Expand Down Expand Up @@ -445,7 +436,6 @@ Blockly.Blocks['data_itemnumoflist'] = {
"name": "ITEM",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "thing"
}
},
Expand Down Expand Up @@ -503,7 +493,6 @@ Blockly.Blocks['data_listcontainsitem'] = {
"name": "ITEM",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "thing"
}
}
Expand Down Expand Up @@ -583,7 +572,6 @@ Blockly.Blocks['data_itemexistslist'] = {
"name": "INDEX",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
},
Expand Down Expand Up @@ -647,7 +635,6 @@ Blockly.Blocks['data_arraylist'] = {
"name": "VALUE",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": '["a", "b", "c"]'
}
},
Expand Down
2 changes: 0 additions & 2 deletions blocks_vertical/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ Blockly.Blocks['event_whengreaterthan'] = {
"name": "VALUE",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 10
}
}
Expand Down Expand Up @@ -493,7 +492,6 @@ Blockly.Blocks["event_whenjavascript"] = {
"name": "JS",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": ""
}
}
Expand Down
3 changes: 1 addition & 2 deletions blocks_vertical/live_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ Blockly.Blocks['field_textdropdown_test'] = {
"args0": [
{
"type": "field_textdropdown",
"name": "text",
"fieldName": "TEXT",
"name": "TEXT",
"options": [
['item1', 'item1'],
['item2', 'item2'],
Expand Down
23 changes: 1 addition & 22 deletions blocks_vertical/looks.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ Blockly.Blocks['looks_sayforsecs'] = {
"name": "MESSAGE",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "Hello!"
}
},
Expand All @@ -51,7 +50,6 @@ Blockly.Blocks['looks_sayforsecs'] = {
"name": "SECS",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 2
}
}
Expand All @@ -76,7 +74,6 @@ Blockly.Blocks['looks_say'] = {
"name": "MESSAGE",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "Hello!"
}
}
Expand All @@ -101,7 +98,6 @@ Blockly.Blocks['looks_thinkforsecs'] = {
"name": "MESSAGE",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "Hello!"
}
},
Expand All @@ -110,7 +106,6 @@ Blockly.Blocks['looks_thinkforsecs'] = {
"name": "SECS",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 2
}
}
Expand All @@ -135,7 +130,6 @@ Blockly.Blocks['looks_think'] = {
"name": "MESSAGE",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "Hello!"
}
}
Expand All @@ -156,7 +150,6 @@ Blockly.Blocks["looks_setFont"] = {
"name":"font",
"defaultBlock": {
"type": "text",
"fieldName": "TEXT",
"value": "Helvetica"
}
},
Expand All @@ -165,7 +158,6 @@ Blockly.Blocks["looks_setFont"] = {
"name":"size",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 14
}
}
Expand All @@ -188,8 +180,7 @@ Blockly.Blocks["looks_setColor"] = {
"options":[
["border","BUBBLE_STROKE"],
["fill","BUBBLE_FILL"],
["text",
"fieldName": "TEXT","TEXT_FILL"]
["text","TEXT_FILL"]
]
},
{
Expand Down Expand Up @@ -231,7 +222,6 @@ Blockly.Blocks["looks_setShape"] = {
"name":"color",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 0
}
}
Expand Down Expand Up @@ -455,7 +445,6 @@ Blockly.Blocks['looks_changeeffectby'] = {
"name": "CHANGE",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 25
}
}
Expand Down Expand Up @@ -498,7 +487,6 @@ Blockly.Blocks['looks_seteffectto'] = {
"name": "VALUE",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 0
}
}
Expand Down Expand Up @@ -537,7 +525,6 @@ Blockly.Blocks['looks_changesizeby'] = {
"name": "CHANGE",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 10
}
}
Expand All @@ -562,7 +549,6 @@ Blockly.Blocks['looks_setsizeto'] = {
"name": "SIZE",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 100
}
}
Expand Down Expand Up @@ -611,7 +597,6 @@ Blockly.Blocks['looks_changestretchby'] = {
"name": "CHANGE",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 10
}
}
Expand All @@ -638,7 +623,6 @@ Blockly.Blocks['looks_setstretchto'] = {
"name": "STRETCH",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 100
}
}
Expand Down Expand Up @@ -821,7 +805,6 @@ Blockly.Blocks['looks_goforwardbackwardlayers'] = {
"name": "NUM",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
}
Expand Down Expand Up @@ -854,7 +837,6 @@ Blockly.Blocks['looks_goTargetLayer'] = {
"name": "VISIBLE_OPTION",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
}
Expand All @@ -877,7 +859,6 @@ Blockly.Blocks["looks_layersSetLayer"] = {
"name": "NUM",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 1
}
}
Expand Down Expand Up @@ -1016,7 +997,6 @@ Blockly.Blocks["looks_setStretch"] = {
"name": "X",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 100
}
},
Expand All @@ -1025,7 +1005,6 @@ Blockly.Blocks["looks_setStretch"] = {
"name": "Y",
"defaultBlock": {
"type": "math_number",
"fieldName": "NUM",
"value": 100
}
}
Expand Down
Loading

0 comments on commit 11bb7bc

Please sign in to comment.