mumuki-laboratory 5.2.0 → 5.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cddf5c55fdcb3d1e9376cff1d680af997586ffdba858722d2bb110e4dacea793
4
- data.tar.gz: 374c52c8fe4548f9675e6964e7c0ec17d0acaa203f0fc986991f83ca39c62044
3
+ metadata.gz: 9a65029b99e695f3c041d0841bedd58907130308069bd7d50d6cc7e043f9c8ba
4
+ data.tar.gz: d2c57ab18ad4f0fff3243b4fe1297c04816b941e2073f999b1775d30889188f9
5
5
  SHA512:
6
- metadata.gz: 48090ede128d27abc3788226708cad2e0b0c6313134567ba21309b5eba01369b7f17cbd00a6c2bef6f7977b38b324cdd9380292469679b0b32cc4d5658efdb09
7
- data.tar.gz: 42363fa111d1179d003f68aa9850f425bbffe3f9c93a6d00df426025757000572c1dec69002ff830a2642d91d88f472e9b904d63add769686c4fa85a0e76098d
6
+ metadata.gz: 7d0770002ff1862da231d98a0c00990a585ab5bcd054ad5c78044955a4d40d10b64e44621d16842812d710d4fe64f45b0d3ede502e63be3353a18e24c42663f3
7
+ data.tar.gz: f3485084836dbd273b39ae5b80639249f262c1734b0a82d61acd8f4ef3fcd889b065fabeee955bb195b4e8379bf0956fef04a8a28ee6a9d8f17a26e3eecb4743
@@ -179,7 +179,7 @@ mumuki.load(function () {
179
179
 
180
180
  _showCorollaryCharacter: function () {
181
181
  var image = $('#mu-kids-corollary-animation')[0];
182
- setTimeout(function () {
182
+ image && setTimeout(function () {
183
183
  image.src = mumuki.characters.magnifying_glass_apparition.url;
184
184
  setTimeout(function () {
185
185
  image.src = mumuki.characters.magnifying_glass_loop.url;
@@ -70,13 +70,13 @@ var mumuki = mumuki || {};
70
70
  mumuki.editor.syncContent();
71
71
  var solution = getContent();
72
72
 
73
- bridge.runLocalTests(solution).always(function () {
74
- $(document).renderMuComponents();
75
- resultsBox.done();
76
- }).done(function (data) {
73
+ bridge.runLocalTests(solution).done(function (data) {
77
74
  resultsBox.success(data, submitButton);
78
75
  }).fail(function () {
79
76
  resultsBox.error(submitButton);
77
+ }).always(function () {
78
+ $(document).renderMuComponents();
79
+ resultsBox.done();
80
80
  });
81
81
  });
82
82
 
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Laboratory
3
- VERSION = '5.2.0'
3
+ VERSION = '5.2.1'
4
4
  end
5
5
  end
@@ -602,6 +602,8 @@
602
602
  mesg.show();
603
603
  };
604
604
 
605
+ typer.commandTrigger = commandTrigger;
606
+
605
607
  ////////////////////////////////////////////////////////////////////////
606
608
  // Handle normal character insertion
607
609
  // data can either be a number, which will be interpreted as the
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-laboratory
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-27 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails