Skip to content

Commit

Permalink
Revert "smeeola update for default blok"
Browse files Browse the repository at this point in the history
This reverts commit 40938b5.
  • Loading branch information
JeremyGamer13 committed Apr 19, 2024
1 parent 6480d2e commit ebe6579
Show file tree
Hide file tree
Showing 10 changed files with 447 additions and 2,185 deletions.
86 changes: 15 additions & 71 deletions blocks_vertical/control.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ Blockly.Blocks['control_repeat'] = {
"args0": [
{
"type": "input_value",
"name": "TIMES",
"defaultBlock": {
"type": "math_number",
"value": 10
}
"name": "TIMES"
}
],
"args1": [
Expand Down Expand Up @@ -124,11 +120,7 @@ Blockly.Blocks['control_repeatForSeconds'] = {
"args0": [
{
"type": "input_value",
"name": "TIMES",
"defaultBlock": {
"type": "math_number",
"value": 1
}
"name": "TIMES"
}
],
"args1": [
Expand Down Expand Up @@ -263,11 +255,7 @@ Blockly.Blocks['control_throw_error'] = {
"args0": [
{
"type": "input_value",
"name": "ERROR",
"defaultBlock": {
"type": "text",
"value": "Hello!"
}
"name": "ERROR"
}
],
"category": Blockly.Categories.control,
Expand Down Expand Up @@ -357,11 +345,7 @@ Blockly.Blocks['control_wait'] = {
"args0": [
{
"type": "input_value",
"name": "DURATION",
"defaultBlock": {
"type": "math_number",
"value": 1
}
"name": "DURATION"
}
],
"category": Blockly.Categories.control,
Expand All @@ -382,11 +366,7 @@ Blockly.Blocks['control_waitsecondsoruntil'] = {
"args0": [
{
"type": "input_value",
"name": "DURATION",
"defaultBlock": {
"type": "math_number",
"value": 1
}
"name": "DURATION"
},
{
"type": "input_value",
Expand Down Expand Up @@ -535,11 +515,7 @@ Blockly.Blocks['control_for_each'] = {
},
{
"type": "input_value",
"name": "VALUE",
"defaultBlock": {
"type": "math_number",
"value": 10
}
"name": "VALUE"
}
],
"args1": [
Expand Down Expand Up @@ -606,10 +582,7 @@ Blockly.Blocks['control_create_clone_of'] = {
"args0": [
{
"type": "input_value",
"name": "CLONE_OPTION",
"defaultBlock": {
"type": "control_create_clone_of_menu"
}
"name": "CLONE_OPTION"
}
],
"category": Blockly.Categories.control,
Expand All @@ -630,10 +603,7 @@ Blockly.Blocks['control_delete_clones_of'] = {
"args0": [
{
"type": "input_value",
"name": "CLONE_OPTION",
"defaultBlock": {
"type": "control_create_clone_of_menu"
}
"name": "CLONE_OPTION"
}
],
"category": Blockly.Categories.control,
Expand Down Expand Up @@ -692,10 +662,7 @@ Blockly.Blocks['control_stop_sprite'] = {
"args0": [
{
"type": "input_value",
"name": "STOP_OPTION",
"defaultBlock": {
"type": "control_stop_sprite_menu"
}
"name": "STOP_OPTION"
}
],
"category": Blockly.Categories.control,
Expand Down Expand Up @@ -734,10 +701,7 @@ Blockly.Blocks['control_run_as_sprite'] = {
"args0": [
{
"type": "input_value",
"name": "RUN_AS_OPTION",
"defaultBlock": {
"type": "control_run_as_sprite_menu"
}
"name": "RUN_AS_OPTION"
}
],
"args1": [
Expand Down Expand Up @@ -831,11 +795,7 @@ Blockly.Blocks['control_set_counter'] = {
"args0": [
{
"type": "input_value",
"name": "VALUE",
"defaultBlock": {
"type": "math_number",
"value": 10
}
"name": "VALUE"
}
],
"category": Blockly.Categories.control,
Expand Down Expand Up @@ -940,19 +900,11 @@ Blockly.Blocks["control_if_return_else_return"] = {
},
{
"type": "input_value",
"name": "TEXT1",
"defaultBlock": {
"type": "text",
"value": "foo"
}
"name": "TEXT1"
},
{
"type": "input_value",
"name": "TEXT2",
"defaultBlock": {
"type": "text",
"value": "bar"
}
"name": "TEXT2"
}
],
"category": Blockly.Categories.control,
Expand Down Expand Up @@ -1026,11 +978,7 @@ Blockly.Blocks['control_case'] = {
"args0": [
{
"type": "input_value",
"name": "CONDITION",
"defaultBlock": {
"type": "text",
"value": "ello"
}
"name": "CONDITION"
}
],
"args1": [
Expand All @@ -1053,11 +1001,7 @@ Blockly.Blocks['control_case_next'] = {
"args0": [
{
"type": "input_value",
"name": "CONDITION",
"defaultBlock": {
"type": "text",
"value": "ello"
}
"name": "CONDITION"
}
],
"category": Blockly.Categories.control,
Expand Down
78 changes: 13 additions & 65 deletions blocks_vertical/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ Blockly.Blocks['data_setvariableto'] = {
},
{
"type": "input_value",
"name": "VALUE",
"defaultBlock": {
"type": "text",
"value": "0"
}
"name": "VALUE"
}
],
"category": Blockly.Categories.data,
Expand All @@ -98,11 +94,7 @@ Blockly.Blocks['data_changevariableby'] = {
},
{
"type": "input_value",
"name": "VALUE",
"defaultBlock": {
"type": "math_number",
"value": 1
}
"name": "VALUE"
}
],
"category": Blockly.Categories.data,
Expand Down Expand Up @@ -249,11 +241,7 @@ Blockly.Blocks['data_addtolist'] = {
"args0": [
{
"type": "input_value",
"name": "ITEM",
"defaultBlock": {
"type": "text",
"value": "thing"
}
"name": "ITEM"
},
{
"type": "field_variable",
Expand All @@ -278,11 +266,7 @@ Blockly.Blocks['data_deleteoflist'] = {
"args0": [
{
"type": "input_value",
"name": "INDEX",
"defaultBlock": {
"type": "math_number",
"value": 1
}
"name": "INDEX"
},
{
"type": "field_variable",
Expand Down Expand Up @@ -328,19 +312,11 @@ Blockly.Blocks['data_insertatlist'] = {
"args0": [
{
"type": "input_value",
"name": "ITEM",
"defaultBlock": {
"type": "text",
"value": "thing"
}
"name": "ITEM"
},
{
"type": "input_value",
"name": "INDEX",
"defaultBlock": {
"type": "math_number",
"value": 1
}
"name": "INDEX"
},
{
"type": "field_variable",
Expand All @@ -365,11 +341,7 @@ Blockly.Blocks['data_replaceitemoflist'] = {
"args0": [
{
"type": "input_value",
"name": "INDEX",
"defaultBlock": {
"type": "math_number",
"value": 1
}
"name": "INDEX"
},
{
"type": "field_variable",
Expand All @@ -378,11 +350,7 @@ Blockly.Blocks['data_replaceitemoflist'] = {
},
{
"type": "input_value",
"name": "ITEM",
"defaultBlock": {
"type": "text",
"value": "thing"
}
"name": "ITEM"
}
],
"category": Blockly.Categories.dataLists,
Expand All @@ -402,11 +370,7 @@ Blockly.Blocks['data_itemoflist'] = {
"args0": [
{
"type": "input_value",
"name": "INDEX",
"defaultBlock": {
"type": "math_number",
"value": 1
}
"name": "INDEX"
},
{
"type": "field_variable",
Expand All @@ -433,11 +397,7 @@ Blockly.Blocks['data_itemnumoflist'] = {
"args0": [
{
"type": "input_value",
"name": "ITEM",
"defaultBlock": {
"type": "text",
"value": "thing"
}
"name": "ITEM"
},
{
"type": "field_variable",
Expand Down Expand Up @@ -490,11 +450,7 @@ Blockly.Blocks['data_listcontainsitem'] = {
},
{
"type": "input_value",
"name": "ITEM",
"defaultBlock": {
"type": "text",
"value": "thing"
}
"name": "ITEM"
}
],
"category": Blockly.Categories.dataLists,
Expand Down Expand Up @@ -569,11 +525,7 @@ Blockly.Blocks['data_itemexistslist'] = {
"args0": [
{
"type": "input_value",
"name": "INDEX",
"defaultBlock": {
"type": "math_number",
"value": 1
}
"name": "INDEX"
},
{
"type": "field_variable",
Expand Down Expand Up @@ -632,11 +584,7 @@ Blockly.Blocks['data_arraylist'] = {
"args0": [
{
"type": "input_value",
"name": "VALUE",
"defaultBlock": {
"type": "text",
"value": '["a", "b", "c"]'
}
"name": "VALUE"
},
{
"type": "field_variable",
Expand Down
Loading

1 comment on commit ebe6579

@rttyg46305Unj
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<when will it server?>
^
sometime

Please sign in to comment.