prolog-blockly 1.0.14 → 1.0.15
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/pl-element-blockly.html +9 -4
- data/lib/prolog/blockly/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdcc5d1cdcddd66bb19212426e14a672ad6fc81ef321071397d22c4f1ce7ecce
|
4
|
+
data.tar.gz: 76484a9557a7eb4b4a3f5ef82277f50bd19d079083e349c627b86c575ce4762f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62bf95021fd2e7f63130ce1a20989cc5012a28fb5eb5a843ce3d90e4b2ae1fd3d674a5ddb39f8f33630ce38e15be4b0418eafa9abd853cd2d69f1e5f79ce1ebf
|
7
|
+
data.tar.gz: 9d275ffd33446ecd0ab44ce5fb63d3d73bcb6872a7dcf851b7ad11294255c4a31307c0085edbd3e5d95dbd2b9b8039f40939c1f14abe339f2646ee64f319c1c4
|
@@ -4307,7 +4307,9 @@ Blockly.HSV_VALUE = 1;
|
|
4307
4307
|
Blockly.MUMUKI_COLORS = {
|
4308
4308
|
pink: "#FF5C82",
|
4309
4309
|
blue: "#5CBEFF",
|
4310
|
-
yellow: "#FFC95C"
|
4310
|
+
yellow: "#FFC95C",
|
4311
|
+
green: "#3FAA9D",
|
4312
|
+
dark_green:"#1F879A"
|
4311
4313
|
};
|
4312
4314
|
// reserved
|
4313
4315
|
Blockly.CUSTOM_COLORS.program = Blockly.MUMUKI_COLORS.pink;
|
@@ -4321,16 +4323,19 @@ Blockly.CUSTOM_COLORS.controlStructure = Blockly.MUMUKI_COLORS.yellow;
|
|
4321
4323
|
Blockly.CUSTOM_COLORS.primitiveCommand = Blockly.MUMUKI_COLORS.yellow;
|
4322
4324
|
Blockly.CUSTOM_COLORS.primitiveProcedure = Blockly.MUMUKI_COLORS.yellow;
|
4323
4325
|
Blockly.CUSTOM_COLORS.procedure_call = Blockly.MUMUKI_COLORS.yellow;
|
4324
|
-
Blockly.CUSTOM_COLORS.assignation = Blockly.MUMUKI_COLORS.
|
4326
|
+
Blockly.CUSTOM_COLORS.assignation = Blockly.MUMUKI_COLORS.dark_green;
|
4327
|
+
|
4325
4328
|
// expressions
|
4326
4329
|
Blockly.Msg.MATH_HUE = Blockly.MUMUKI_COLORS.blue;
|
4327
4330
|
Blockly.CUSTOM_COLORS.literalExpression = Blockly.MUMUKI_COLORS.blue;
|
4328
4331
|
Blockly.CUSTOM_COLORS.primitiveExpression = Blockly.MUMUKI_COLORS.blue;
|
4329
4332
|
Blockly.CUSTOM_COLORS.operator = Blockly.MUMUKI_COLORS.blue;
|
4330
|
-
Blockly.CUSTOM_COLORS.
|
4333
|
+
Blockly.CUSTOM_COLORS.VariableSelector = Blockly.MUMUKI_COLORS.green;
|
4331
4334
|
Blockly.CUSTOM_COLORS.parameter = Blockly.MUMUKI_COLORS.blue;
|
4332
4335
|
Blockly.CUSTOM_COLORS.primitiveFunction = Blockly.MUMUKI_COLORS.blue;
|
4333
4336
|
Blockly.CUSTOM_COLORS.function_call = Blockly.MUMUKI_COLORS.blue;
|
4337
|
+
Blockly.CUSTOM_COLORS.Not = Blockly.MUMUKI_COLORS.dark_green;
|
4338
|
+
Blockly.CUSTOM_COLORS.ForAll = Blockly.MUMUKI_COLORS.dark_green;
|
4334
4339
|
|
4335
4340
|
/**
|
4336
4341
|
* Create the svg representation of a block and render
|
@@ -5590,7 +5595,7 @@ function individuoSelectorBlockCodeGenerator(type) {
|
|
5590
5595
|
|
5591
5596
|
function variableSelectorBlockCodeGenerator(type) {
|
5592
5597
|
return function(block) {
|
5593
|
-
return [block.getFieldValue(type).
|
5598
|
+
return [(block.getFieldValue(type)[0].toUpperCase() + block.getFieldValue(type).slice(1)), Blockly.PrologLanguage.ORDER_ATOMIC];
|
5594
5599
|
};
|
5595
5600
|
}
|
5596
5601
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prolog-blockly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Agustin Pina
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.7.
|
90
|
+
rubygems_version: 2.7.8
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: Prolog Blockly
|