mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
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:
committed by
GitHub
parent
f6aef459fc
commit
e5d25bb686
@@ -51,6 +51,8 @@ Blockly.Python['controls_if'] = function(block) {
|
||||
return code;
|
||||
};
|
||||
|
||||
Blockly.Python['controls_ifelse'] = Blockly.Python['controls_if'];
|
||||
|
||||
Blockly.Python['logic_compare'] = function(block) {
|
||||
// Comparison operator.
|
||||
var OPERATORS = {
|
||||
|
||||
Reference in New Issue
Block a user