mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
Remove ifelse block and messages'
This commit is contained in:
@@ -265,42 +265,6 @@ Blockly.Blocks['controls_if_else'] = {
|
||||
}
|
||||
};
|
||||
|
||||
Blockly.Blocks['controls_ifelse'] = {
|
||||
/**
|
||||
* If/else block that does not use a mutator.
|
||||
*/
|
||||
init: function() {
|
||||
this.jsonInit({
|
||||
"message0": Blockly.Msg.CONTROLS_IFELSE_TITLE,
|
||||
"args0": [
|
||||
{
|
||||
"type": "input_value",
|
||||
"name": "IF0",
|
||||
"check": "Boolean",
|
||||
"align": "RIGHT"
|
||||
},
|
||||
{
|
||||
"type": "input_statement",
|
||||
"name": "DO0",
|
||||
"check": "Boolean",
|
||||
"align": "RIGHT"
|
||||
},
|
||||
{
|
||||
"type": "input_statement",
|
||||
"name": "ELSE",
|
||||
"check": "Boolean",
|
||||
"align": "RIGHT"
|
||||
}
|
||||
],
|
||||
"previousStatement": null,
|
||||
"nextStatement": null,
|
||||
"colour": Blockly.Blocks.logic.HUE,
|
||||
"tooltip": Blockly.Msg.CONTROLS_IF_TOOLTIP_2,
|
||||
"helpUrl": Blockly.Msg.CONTROLS_IF_HELPURL
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Blockly.Blocks['logic_compare'] = {
|
||||
/**
|
||||
* Block for comparison operator.
|
||||
|
||||
Reference in New Issue
Block a user