mumuki-gobstones-runner 1.11.2 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/render/editor/editor.html +9 -5
- data/lib/version_hook.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: 1e36d7b11f8825eeb025a780fce051608454b8de38e264a96b3d052e5925bc29
|
4
|
+
data.tar.gz: 5c4fe022a38ce11a63bd0281118432ef50c0bbc4abf1be7eb9af45270a880713
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abbc0be7c630768d595e92ba3a73b09985fdbaf11a691a2b348a2ef3941cd1e25ec0c2427400420dd612adb5c8bdc9158cde055af9d0591b620d52bd7251a838
|
7
|
+
data.tar.gz: cce358699eb00043da2d7a1c543418dc75e53231db57bc0a86fee4a01b139bc7ef9b43240b908fbafabf31ea150676d1e1291e1e52eb5298d59a9e89d22c8752
|
@@ -106,6 +106,9 @@
|
|
106
106
|
if (typeof Blockly === 'undefined' || !Blockly.CUSTOM_COLORS) return postpone(setBlocklyCustomSettings);
|
107
107
|
setBlocklySounds();
|
108
108
|
setBlocklyColors();
|
109
|
+
|
110
|
+
// Removing "/" from the block id character set to avoid syntax errors
|
111
|
+
Blockly.utils.genUid.soup_ = Blockly.utils.genUid.soup_.replace("/", "");
|
109
112
|
};
|
110
113
|
|
111
114
|
const updateFields = () => {
|
@@ -676,18 +679,19 @@
|
|
676
679
|
},
|
677
680
|
|
678
681
|
ready: function () {
|
682
|
+
document.addEventListener('board-attire-changed', this._updateVisibility.bind(this));
|
683
|
+
},
|
684
|
+
|
685
|
+
_updateVisibility: function () {
|
679
686
|
this.boards = $(".mu-kids-states").find("gs-board");
|
680
|
-
|
681
|
-
this.shouldDisplay = this.boards.toArray().some(board => board.attire);
|
682
|
-
}, 500);
|
687
|
+
this.shouldDisplay = this.boards.toArray().some(board => board.attire);
|
683
688
|
},
|
684
689
|
|
685
690
|
_onButtonClick: function () {
|
686
691
|
this.isEnabled = !this.isEnabled;
|
687
692
|
|
688
693
|
this.boards.each((__, board) => {
|
689
|
-
if (
|
690
|
-
else board.attire = null;
|
694
|
+
if (board.attire) board.set("attire.enabled", this.isEnabled);
|
691
695
|
gbsBoardRemoveBorder(board);
|
692
696
|
});
|
693
697
|
}
|
data/lib/version_hook.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-gobstones-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Alfonso
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.18'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.18'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: gobstones-blockly
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|