mumuki-gobstones-runner 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e19fe881a4e5e14af08272af16deb8b0300e4bcd16c2b90902d287c10a6248ca
4
- data.tar.gz: 332c0adff209522e463a852e0f7dd2e2532cfb600080b5e85ec66e3f62f778c9
3
+ metadata.gz: 6ec659c5d058360c8f6a8da5262423342511fd99d1dd53fd808c13b2501e7496
4
+ data.tar.gz: fc89cc77bdd718c6b4f22f99c8cfbf4d9b79ea33f956e8c93ecaa70dbe08052f
5
5
  SHA512:
6
- metadata.gz: 07e4559a5156d311b37a4c1b6cc24e87bda115bac77753030b9d3f47b9509061e944aec0d2e7b738555455cd675160d51a7251e3e871bb217f94e7ea5141f124
7
- data.tar.gz: 575ce797447cda09153fa514bb5e78ad8d046ce3bbdebd0f392b3fa168f52dbcaf282f6f16bf7bc22e221dd94acfc276fd0b7b3c07a2f77835102f3cb9dbff83
6
+ metadata.gz: 4a0b83afcf73c520bf0f18bd25c499693392d8d0923f1c1818884e986bfe662b2693ecdb942adad9bd3816d86d33a8d9e463f400f5bf8553b8dc3e0ae2eec16a
7
+ data.tar.gz: 99e409d7c324fbb44913bec0bf6b7ab6eeb5eaa3652884979ae0bb3c5cfe9a05ece0b1ed200f4dcb4f87097cd95b712255b11b0d667f06acbc9f54a3c3fd43b8
@@ -641,7 +641,8 @@
641
641
  },
642
642
 
643
643
  _updateBoardFromResult: function (originalBoard, resultBoard) {
644
- const resultGbb = resultBoard.textContent;
644
+ // In Firefox the gbb is present in the textContent attribute while in Chrome it's in the gbb attribute.
645
+ const resultGbb = resultBoard.textContent || resultBoard.gbb;
645
646
  if (resultGbb) {
646
647
  const boardAttrs = gbbReader.fromString(resultGbb);
647
648
  originalBoard.update(boardAttrs.table, boardAttrs.head);
data/lib/version_hook.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GobstonesVersionHook
2
- VERSION = '2.1.1'
2
+ VERSION = '2.1.2'
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.1.1
4
+ version: 2.1.2
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-04-05 00:00:00.000000000 Z
11
+ date: 2019-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit