Remove ifelse block and messages'

This commit is contained in:
Rachel Fenichel
2016-11-11 17:21:29 -08:00
parent 845e00c72c
commit 82261e3d68
80 changed files with 7 additions and 135 deletions

View File

@@ -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.