gobstones-blockly 0.29.1 → 0.30.0

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: 535de373bc92627bf98a2b3c90f9d00ab61e074ef94b99a9e8f15bc6c7b248d3
4
- data.tar.gz: 5f72b025962136ab74f71f23e10884cae99d8fa944ae752fa7a6309f1deb1d6b
3
+ metadata.gz: da1eac7982f7439fcf3c4e753e34ee9bb760684fad5d3d6e0ab32d6d50ab6799
4
+ data.tar.gz: b01826f7a1f429274f833b2affdfd24cb63881ef4b309b16255def919cb6d83d
5
5
  SHA512:
6
- metadata.gz: adfb423ee734fcad637dfc359a0623a6c680b28f0b5998d15d7d9f7d5ad5ef4a4bb2d1afc4c66687504103f2cd1dbd04ff295019b23ec9cb4cab5b0fab3c9876
7
- data.tar.gz: b671355f1238b308c49b913ba0d5dd596c23b09da204c1a0f17d376d3ff910587a6378b757bbcb1fbdc9912b172ea10dd60932f67efb8b1b06210b31a7e9339e
6
+ metadata.gz: c9b90e904d21d30722c8ba094f2b798bfb2e8825bac0e8b076b50ab7a75337353fd86d2edb9289795438770eef4fd8910f0b08ecb1a6d6f105ed051ab62c4a12
7
+ data.tar.gz: 40bc7795bfbda3abe4f3020ac9c2c54c6fd11d87f24b106c703b8e63eadd3405b7e31ab789861a9bcae39dd5ccbea77936f0c78679bad29fc05cd49ebc0d8dca
@@ -6692,7 +6692,7 @@ Blockly.ErrorInforming.CssContent = [
6692
6692
  _getDropdownOptions(definition) {
6693
6693
  const attributes = definition.attributes;
6694
6694
 
6695
- const dropdown = definition.attributes && definition.attributes.block_dropdown;
6695
+ const dropdown = attributes && attributes.block_dropdown;
6696
6696
  const dropdownOptions = dropdown && dropdown.match(/\("[^"]+" *, *'[^']*'\)/g);
6697
6697
  return dropdownOptions && dropdownOptions.map((option) => {
6698
6698
  const parts = option.match(/^\("([^"]+)" *, *'([^']*)'\)$/);
@@ -6734,6 +6734,7 @@ Blockly.ErrorInforming.CssContent = [
6734
6734
  this.setPreviousStatement(true);
6735
6735
  this.setNextStatement(true);
6736
6736
  this.setInputsInline(true);
6737
+ this.setTooltip(definition.attributes && definition.attributes.tooltip || "");
6737
6738
  }
6738
6739
  };
6739
6740
 
@@ -1,5 +1,5 @@
1
1
  module Gobstones
2
2
  module Blockly
3
- VERSION = "0.29.1"
3
+ VERSION = "0.30.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gobstones-blockly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.1
4
+ version: 0.30.0
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-02-06 00:00:00.000000000 Z
11
+ date: 2019-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler