app/assets/htmls/gs-element-blockly.html in gobstones-blockly-0.11.0 vs app/assets/htmls/gs-element-blockly.html in gobstones-blockly-0.11.1
- old
+ new
@@ -3989,20 +3989,20 @@
/* global Blockly */
Blockly.GOBSTONES_COLORS = {
globalHsvSaturation: Blockly.HSV_SATURATION,
globalHsvValue: Blockly.HSV_VALUE,
- primitiveCommand: 80,
- assignation: 230,
- controlStructure: 60,
- literalExpression: 180,
- expression: 260,
- program: 100,
- interactiveProgram: 30,
- interactiveBinding: 50,
- procedure: Blockly.Blocks.procedures.HUE,
- complete: 0,
+ primitiveCommand: "#8DA65B",
+ assignation: "#5B68A6",
+ controlStructure: "#A6A65B",
+ literalExpression: "#5BA6A6",
+ expression: "#745BA6",
+ program: "#74A65B",
+ interactiveProgram: "#A6805B",
+ interactiveBinding: "#A6995B",
+ procedure: "#995BA6",
+ complete: "#A65C5B",
};
/**
* Create the svg representation of a block and render
* @name {!string} name of the parameter.
@@ -5386,10 +5386,10 @@
condition: Blockly.GobstonesLanguage.valueToCode(block, "IF" + id,
Blockly.GobstonesLanguage.ORDER_NONE),
body: Blockly.GobstonesLanguage.statementToCode(block, "DO" + id)
};
}).map(function({ condition, body }) {
- return ` else if (${condition}) {\n${body}}`;
+ return ` elseif (${condition}) {\n${body}}`;
}).join("");
var condicion = Blockly.GobstonesLanguage.valueToCode(block, 'condicion',
Blockly.GobstonesLanguage.ORDER_NONE) || '';
\ No newline at end of file