mumuki-laboratory 7.0.5 → 7.0.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a843c1c8020496979df69efc7955fa34e2824703b37a583c9269fd6ad3da88b
|
4
|
+
data.tar.gz: cb676e478067cb1ce14dfb692de9ca925b3a8f996b1ddcca29ce863010b13b97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0795e96d649a7e2dcc5cad7879178deb5bf82b5b512e9e5e793348ea1f440a857943e4a11a5ff5047cbbb21f723d068c92ddcbcf3b1ca22f5f0e2800dc12ecc
|
7
|
+
data.tar.gz: 27a48236e177988d376fb62a53644357ed10a11a89cacc20ab2f57c931a83e5e0f485c7ba7a52816c9904b6eb095ab80b6c575e3e82b135c11fcfde1f9395726
|
@@ -72,7 +72,7 @@ mumuki.load(function () {
|
|
72
72
|
// * preferredHeight
|
73
73
|
//
|
74
74
|
// Runners must call this method on within the runner's editor.js extension
|
75
|
-
registerStateScaler: function(scaler) {
|
75
|
+
registerStateScaler: function (scaler) {
|
76
76
|
this._stateScaler = scaler;
|
77
77
|
},
|
78
78
|
|
@@ -82,7 +82,7 @@ mumuki.load(function () {
|
|
82
82
|
// * $blocks: the blocks area
|
83
83
|
//
|
84
84
|
// Runners must call this method on within the runner's editor.js extension
|
85
|
-
registerBlocksAreaScaler: function(scaler) {
|
85
|
+
registerBlocksAreaScaler: function (scaler) {
|
86
86
|
this._blocksAreaScaler = scaler;
|
87
87
|
},
|
88
88
|
|
@@ -100,7 +100,7 @@ mumuki.load(function () {
|
|
100
100
|
//
|
101
101
|
// This method is called by the kids code, but the runner's editor.js extension may need
|
102
102
|
// to perform additional calls to it.
|
103
|
-
scaleBlocksArea: function($blocks) {
|
103
|
+
scaleBlocksArea: function ($blocks) {
|
104
104
|
this._blocksAreaScaler($blocks);
|
105
105
|
},
|
106
106
|
|
@@ -228,7 +228,7 @@ mumuki.load(function () {
|
|
228
228
|
|
229
229
|
_stateScaler: function ($state, fullMargin, preferredWidth, preferredHeight) {
|
230
230
|
var $table = $state.find('gs-board > table');
|
231
|
-
if(!$table.length) return setTimeout(() => this.scaleState($state, fullMargin));
|
231
|
+
if (!$table.length) return setTimeout(() => this.scaleState($state, fullMargin));
|
232
232
|
|
233
233
|
console.warn("You are using the default states scaler, which is gobstones-specific. Please register your own scaler in the future");
|
234
234
|
|
@@ -238,7 +238,7 @@ mumuki.load(function () {
|
|
238
238
|
$table.css('transform', 'scale(' + Math.min(scaleX, scaleY) + ')');
|
239
239
|
},
|
240
240
|
|
241
|
-
_blocksAreaScaler: function($blocks) {
|
241
|
+
_blocksAreaScaler: function ($blocks) {
|
242
242
|
console.warn("You are using the default blocks scaler, which is blockly-specific. Please register your own scaler in the future");
|
243
243
|
|
244
244
|
var $blockArea = $blocks.find('#blocklyDiv');
|
@@ -291,7 +291,7 @@ mumuki.load(function () {
|
|
291
291
|
|
292
292
|
$(document).ready(() => {
|
293
293
|
// Speech initialization
|
294
|
-
if(!$bubble.length) return;
|
294
|
+
if (!$bubble.length) return;
|
295
295
|
|
296
296
|
availableTabs.forEach(function (tabSelector) {
|
297
297
|
tabParagraphs(tabSelector).contents().unwrap().wrapAll('<p>');
|
@@ -312,7 +312,7 @@ mumuki.load(function () {
|
|
312
312
|
})
|
313
313
|
});
|
314
314
|
|
315
|
-
if(paragraphCount > 1) {
|
315
|
+
if (paragraphCount > 1) {
|
316
316
|
nextSpeechBlinking = setInterval(() => $nextSpeech.fadeTo('slow', 0.1).fadeTo('slow', 1.0), 1000);
|
317
317
|
}
|
318
318
|
|
@@ -345,6 +345,8 @@ mumuki.load(function () {
|
|
345
345
|
$muKidsStates.each((index, state) => mumuki.kids.scaleState($(state), fullMargin));
|
346
346
|
mumuki.kids.scaleBlocksArea($('.mu-kids-blocks'));
|
347
347
|
|
348
|
+
if (paragraphCount <= 1) clearInterval(nextSpeechBlinking);
|
349
|
+
|
348
350
|
resizeSpeechParagraphs();
|
349
351
|
});
|
350
352
|
})
|
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: 7.0.
|
4
|
+
version: 7.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|