String reference in JSON string messages (#741)

* Adds message references to message string interpolation, in the form of %{BKY_STRING}.
 * Re-adding CONTROLS_IFELSE block using the new syntax, referencing to CONTROL_IF equivalents.
This commit is contained in:
Andrew n marshall
2016-11-15 15:51:51 -08:00
committed by GitHub
parent f6aef459fc
commit e5d25bb686
9 changed files with 170 additions and 3 deletions

View File

@@ -50,6 +50,8 @@ Blockly.PHP['controls_if'] = function(block) {
return code + '\n';
};
Blockly.PHP['controls_ifelse'] = Blockly.PHP['controls_if'];
Blockly.PHP['logic_compare'] = function(block) {
// Comparison operator.
var OPERATORS = {