mumuki-laboratory 7.7.5 → 7.7.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: f5e3448e8581a35a17133d53baba737b443b021a368587d4e2f9f7929b86a49a
4
- data.tar.gz: 8e02d2c51e3045bbf5e55fdd900c2fb4db90d7885f294265076ef42a8abf0430
3
+ metadata.gz: dc2cca6d653df2fae416fe08b024233740722905d893c4db895ce3b4b5a7e32a
4
+ data.tar.gz: 3e4f5adf6ec0d5f61f852c323425e7fb5502882f3ea74f4c0c095f885a015146
5
5
  SHA512:
6
- metadata.gz: ddcceb16a8e9d84d993ea3eb271f3097f024d578f5fc9aab1e05bfac6206c8aae3ba1cc31ced4fe7061658b805194a7d2a81f5c9d37827b305d9b04d9a018495
7
- data.tar.gz: 18c2765a101a5229ad42356eae6a139f0a4d92a67ac9299ade093dd9f7aa414ba4f198d0275245790f3add83d6dce23c6f8e2205053ea628c4ad15e4c771aa3f
6
+ metadata.gz: 0a0475afc78c86323f8bc78763294f05184c46a38ff00b530b1962c85880258b2b99cc17732ee94324cff4e144cc1e4680f91a1803aea5aa2bca3d95abf02f66
7
+ data.tar.gz: c670a11910815b05d1445fc0fee8d9c5c2f1b1146b052ffa41fe005e5cd7fb1f249203bcf02f3f26a1bd898b89b015aeaab03617cc455f971386ba69c8ce6595
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Laboratory
3
- VERSION = '7.7.5'
3
+ VERSION = '7.7.6'
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  (function() {
4
4
  var locale = document.querySelector("html").lang || 'es';
5
- var language = new Intl.Locale(locale).language;
5
+ var languageCode = locale.split("-")[0];
6
6
 
7
7
  var keywords = [
8
8
  "program", "procedure", "function", "interactive", "if",
@@ -23,8 +23,8 @@
23
23
  en: ["Put", "Grab", "Move", "GoToEdge", "EmptyBoardContents", "numStones", "anyStones", "canMove", "next", "prev", "opposite", "minBool", "maxBool", "minDir", "maxDir", "minColor", "maxColor"]
24
24
  };
25
25
 
26
- const localizedKeywordsAndBuiltins = keywords.concat(builtins[language]);
27
- const localizedAtoms = atoms[language];
26
+ const localizedKeywordsAndBuiltins = keywords.concat(builtins[languageCode]);
27
+ const localizedAtoms = atoms[languageCode];
28
28
 
29
29
  var buildList = function(values) {
30
30
  return values.join('|');
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-laboratory
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.7.5
4
+ version: 7.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Bulgarelli