gobstones-blockly 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/htmls/gs-element-blockly.html +11 -11
- data/lib/gobstones/blockly/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b93b2dbc1357ab9893fa94a10c8416ab43e739df58f2caf7105db16f66fae746
|
4
|
+
data.tar.gz: a4e3a8dee90769647c4e0b2a6c0a0628e09ea516a646e53a635ece679572ed67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc00dd7bd613135e8f7c6dd47d9e9b92eb5e8cb9b51109f2997d3ff79469097df32359f75ccb140036f5709ab96893728a8385251a867f4c6d4520055eeb5ffe
|
7
|
+
data.tar.gz: 9428475425df8dcae170389a2ac3a7ce380ef3056c5e42ce6e0063933e328a9e9aa5f305d5b64c6d0eb49a59d809acfc96265745c4527f20c256f0c96da10f3f
|
@@ -3991,16 +3991,16 @@ window.initProcedsBlockly = function(customStatementType) {
|
|
3991
3991
|
Blockly.GOBSTONES_COLORS = {
|
3992
3992
|
globalHsvSaturation: Blockly.HSV_SATURATION,
|
3993
3993
|
globalHsvValue: Blockly.HSV_VALUE,
|
3994
|
-
primitiveCommand:
|
3995
|
-
assignation:
|
3996
|
-
controlStructure:
|
3997
|
-
literalExpression:
|
3998
|
-
expression:
|
3999
|
-
program:
|
4000
|
-
interactiveProgram:
|
4001
|
-
interactiveBinding:
|
4002
|
-
procedure:
|
4003
|
-
complete:
|
3994
|
+
primitiveCommand: "#8DA65B",
|
3995
|
+
assignation: "#5B68A6",
|
3996
|
+
controlStructure: "#A6A65B",
|
3997
|
+
literalExpression: "#5BA6A6",
|
3998
|
+
expression: "#745BA6",
|
3999
|
+
program: "#74A65B",
|
4000
|
+
interactiveProgram: "#A6805B",
|
4001
|
+
interactiveBinding: "#A6995B",
|
4002
|
+
procedure: "#995BA6",
|
4003
|
+
complete: "#A65C5B",
|
4004
4004
|
};
|
4005
4005
|
|
4006
4006
|
/**
|
@@ -5388,7 +5388,7 @@ Blockly.GobstonesLanguage.AlternativaCompleta = function (block) {
|
|
5388
5388
|
body: Blockly.GobstonesLanguage.statementToCode(block, "DO" + id)
|
5389
5389
|
};
|
5390
5390
|
}).map(function({ condition, body }) {
|
5391
|
-
return `
|
5391
|
+
return ` elseif (${condition}) {\n${body}}`;
|
5392
5392
|
}).join("");
|
5393
5393
|
|
5394
5394
|
var condicion = Blockly.GobstonesLanguage.valueToCode(block, 'condicion',
|