gobstones-blockly 0.13.1 → 0.14.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: e41296e7ab6d413f9aceac347c084c0659a9b019db44c187e883db736e719ae7
4
- data.tar.gz: 26ef2976906b2bb3aee10aad70385ba85c103f3dff403ae046aa4bf351fb6ea2
3
+ metadata.gz: efc62cae32139ee99bb562e651eb6ba89a6d951ed809f74633372e3b0dfb9500
4
+ data.tar.gz: 9f4e4a8a846bcc7339418f322d74bc6d650c7b258e006b5c4be82673e681ab70
5
5
  SHA512:
6
- metadata.gz: 4fc0f66674f82c6000d3d02710f905f8eda3906855bb16286205989d053ecd9c967603fa3ccb7ff252b21423bfb90c1002c510f5255e094768ea5859a8eab6ca
7
- data.tar.gz: 120b4752584170e8e37a171c824778ac9e611c3c0329d299c5acc1f0f5fcfc461da948d3bfb16bf99c5f0527c9d4b775656153d65e1781723a6628531d7ab530
6
+ metadata.gz: cc93803172019e95760e98104637b3ac11a80efaac9ee1bf6a4056fcd6809bc2570a3a7c76afdbaa7ff5da435ed9d79f341ab7cf9900615a9e80c6c7764ec5d0
7
+ data.tar.gz: e133fd4084f30f191daf2e491cc92873ca49d3af9519b5ae782424d3504cbf964127d820ed465dc3dd1dc59c90e966d12a8129930ef67a58d9eae42134c21031
@@ -5908,7 +5908,12 @@ Blockly.ErrorInforming.CssContent = [
5908
5908
  const primitiveFunctions = this._getPrimitiveNames(this.primitiveFunctions);
5909
5909
 
5910
5910
  let tree = []
5911
- let toolboxDefaultLines = (toolboxXML || this.$$('#toolbox').innerHTML).split("\n");
5911
+ let xml = toolboxXML || this.$$('#toolbox').innerHTML;
5912
+
5913
+ // TODO: Este parseo por strings es tremendo, y esa property `xml` de los nodos se usa en _toolboxBlockXML, _toolboxBlockXML, etc. Hay que hacer de vuelta todo lo de acciones primitivas.
5914
+
5915
+ xml = xml.replace(/> *<\/category>/g, ">\n</category>");
5916
+ let toolboxDefaultLines = xml.split("\n");
5912
5917
  let ignore_last = false;
5913
5918
  let parent = tree;
5914
5919
  let stack = [];
@@ -1,5 +1,5 @@
1
1
  module Gobstones
2
2
  module Blockly
3
- VERSION = "0.13.1"
3
+ VERSION = "0.14.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.13.1
4
+ version: 0.14.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: 2018-05-14 00:00:00.000000000 Z
11
+ date: 2018-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  requirements: []
90
90
  rubyforge_project:
91
- rubygems_version: 2.7.6
91
+ rubygems_version: 2.7.7
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Gobstones Blockly