mumuki-laboratory 7.7.4 → 7.7.5

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: 40346e6aba6ab0a380ef19ac5303e05c8241268ca69e254bc7f1ecac00763add
4
- data.tar.gz: 5d25b2e9ed280d92ffc882a6ad4146efe57949b0fcbe222d23f34e0be0858e8d
3
+ metadata.gz: f5e3448e8581a35a17133d53baba737b443b021a368587d4e2f9f7929b86a49a
4
+ data.tar.gz: 8e02d2c51e3045bbf5e55fdd900c2fb4db90d7885f294265076ef42a8abf0430
5
5
  SHA512:
6
- metadata.gz: f5cef47d4a3808cd92b4e13b062a747de1d4dfd2dd5955606d74490cbc415d94410e422f57a21acffff0beacc7b8d3345efe1382028e12213117b88b7ec4d454
7
- data.tar.gz: e3c8ef0d05ad1f784bc4941ab8dcc4031ff2c710d8085dd609eccd0b564198355a66ca9bf6989bc5bc8d5db89059607f0337f5b939e418edef7bdd1b4a75a43b
6
+ metadata.gz: ddcceb16a8e9d84d993ea3eb271f3097f024d578f5fc9aab1e05bfac6206c8aae3ba1cc31ced4fe7061658b805194a7d2a81f5c9d37827b305d9b04d9a018495
7
+ data.tar.gz: 18c2765a101a5229ad42356eae6a139f0a4d92a67ac9299ade093dd9f7aa414ba4f198d0275245790f3add83d6dce23c6f8e2205053ea628c4ad15e4c771aa3f
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Laboratory
3
- VERSION = '7.7.4'
3
+ VERSION = '7.7.5'
4
4
  end
5
5
  end
@@ -2,6 +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
6
 
6
7
  var keywords = [
7
8
  "program", "procedure", "function", "interactive", "if",
@@ -22,8 +23,8 @@
22
23
  en: ["Put", "Grab", "Move", "GoToEdge", "EmptyBoardContents", "numStones", "anyStones", "canMove", "next", "prev", "opposite", "minBool", "maxBool", "minDir", "maxDir", "minColor", "maxColor"]
23
24
  };
24
25
 
25
- const localizedKeywordsAndBuiltins = keywords.concat(builtins[locale]);
26
- const localizedAtoms = atoms[locale];
26
+ const localizedKeywordsAndBuiltins = keywords.concat(builtins[language]);
27
+ const localizedAtoms = atoms[language];
27
28
 
28
29
  var buildList = function(values) {
29
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.4
4
+ version: 7.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Bulgarelli