mumuki-gobstones-runner 2.4.0 → 2.4.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: 5e5f0bbddc0e0ffa0891a05a2e7febd090fcf62aa0b2ca475519a11701d0ca24
4
- data.tar.gz: b42308f0752f337488b8def7625dacc89ddecbc44ca57cfb556f75f3101cc721
3
+ metadata.gz: 3eae1a47ac206d6de39e4858bfcc94777c6414420cd88d6c5d0124b494dffec5
4
+ data.tar.gz: baea256cd8be5c4fe0fe5c04c8d88013882907ae4420ec56e918fba08aa3638a
5
5
  SHA512:
6
- metadata.gz: ee7ce11f786fb507a58b6e58ca919fc10b79c53bb2c7548c30897eb08f814d7bf9eed16051287505d6c8ce6b0a40f33b58b530365841c124281a46dbbc6289db
7
- data.tar.gz: 6c478ee0a4df82fbcf43ede1abc16468dc41597d6a71836071ac33f95762ab863e55853dee41d7f54c117a09df02ff5e1602ac852c26889aacdd5ddd31db0fa1
6
+ metadata.gz: 0d5898de7105cbfe6ffa05070a12d22d7869975d4330cc4e57d44e246e021d435d675d75e5675a367010a9c6902d3ab0d338a91eb214f071acbea1bbffe49723
7
+ data.tar.gz: 17114df8ed403b4af65145a36108b9a7b95fb8484bc73773d63da13c10882786bd13839d165c60c1a695f14f892241f06633549e10ee3a24b9fb05aa8c39545e
@@ -187,9 +187,9 @@
187
187
 
188
188
  this._subscribeToWorkspace(blockly, updateFields);
189
189
  });
190
- if(mumuki.assetsLoadedFor && !$('gs-toolbox').length) {
191
- mumuki.assetsLoadedFor('editor');
192
- }
190
+
191
+ const hasCustomToolbox = $('gs-toolbox').length;
192
+ if(!hasCustomToolbox) mumuki.assetsLoadedFor('editor');
193
193
  });
194
194
  };
195
195
 
@@ -803,7 +803,8 @@
803
803
  $.get(this.toolboxUrl, function (toolboxXml) {
804
804
  blockly.toolbox = { defaultToolbox: toolboxXml };
805
805
  editor.setTeacherActions(blockly);
806
- mumuki.assetsLoadedFor && mumuki.assetsLoadedFor('editor');
806
+ }).always(function () {
807
+ mumuki.assetsLoadedFor('editor');
807
808
  });
808
809
  }
809
810
  });
@@ -1,3 +1,3 @@
1
1
  module GobstonesVersionHook
2
- VERSION = '2.4.0'
2
+ VERSION = '2.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-gobstones-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Alfonso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-05 00:00:00.000000000 Z
11
+ date: 2019-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit