isomorfeus-react 16.10.1 → 16.10.2

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: 0f0643b4e28b59ef5b2f108031cb864569b512d8cfde42f878bd78ca2b8b33a8
4
- data.tar.gz: d87221984e4755183dca32a3e22ea69bd0e04e86350563675c8132698ed0758b
3
+ metadata.gz: 326bdca8d447fe9810151aad70a3b888d42151ac9905e25c1b84b9f43908fce4
4
+ data.tar.gz: 496e4284de76f1286444788f2acbe587b4ebdc12386209a214d01b1ea65bd8c0
5
5
  SHA512:
6
- metadata.gz: 9f62a599178ffe14165db090194d40d34c2de1408478a6e6f4cbdb6e5f1115a7253c9b7d17e858d5dad550a56d6bb9784d94491d50e01b3fea32bd86352ca2c1
7
- data.tar.gz: 17ffcecfe921feb30928617f7f01710dc76c4da3b4d5d3f56d3fd9faa35eed13ed5b26996b3a9b0cf6f48800aa25e01721c3d243ffc351c87363baf35002fc2e
6
+ metadata.gz: c698cbf40131a53daa2be7271e4610d54eb08b6c573a6ab0e428b537752e221274434cf38e0b9ed98831b7569ae0b63e889263d07b054ac19646dbb7bbc93586
7
+ data.tar.gz: 6964dfab449225525076ebe7d6d7395097d1459d67af87c6e1c35a08090bb916abf6e2fad4dc4a19bcda8c8cf321966a60c27f4c1358b728051c802670559713
@@ -78,9 +78,10 @@ module React
78
78
  let block_result = block.$call();
79
79
  let last_buffer_length = Opal.React.render_buffer[Opal.React.render_buffer.length - 1].length;
80
80
  let last_buffer_element = Opal.React.render_buffer[Opal.React.render_buffer.length - 1][last_buffer_length - 1];
81
- if (block_result && block_result !== last_buffer_element && (block_result !== nil && (typeof block_result === "string" || typeof block_result.$$typeof === "symbol" ||
82
- (typeof block_result.constructor !== "undefined" && block_result.constructor === Array && block_result[0] && typeof block_result[0].$$typeof === "symbol")
83
- ))) {
81
+ if (block_result && block_result !== last_buffer_element && block_result !== nil &&
82
+ (typeof block_result === "string" || typeof block_result.$$typeof === "symbol" ||
83
+ (typeof block_result.constructor !== "undefined" && block_result.constructor === Array &&
84
+ block_result[block_result.length - 1] !== last_buffer_element && typeof block_result[block_result.length - 1].$$typeof === "symbol"))) {
84
85
  Opal.React.render_buffer[Opal.React.render_buffer.length - 1].push(block_result);
85
86
  }
86
87
  children = Opal.React.render_buffer.pop();
@@ -144,9 +145,10 @@ module React
144
145
  let block_result = block.$call()
145
146
  let last_buffer_length = Opal.React.render_buffer[Opal.React.render_buffer.length - 1].length;
146
147
  let last_buffer_element = Opal.React.render_buffer[Opal.React.render_buffer.length - 1][last_buffer_length - 1];
147
- if (block_result && block_result !== last_buffer_element && (block_result !== nil && (typeof block_result === "string" || typeof block_result.$$typeof === "symbol" ||
148
- (typeof block_result.constructor !== "undefined" && block_result.constructor === Array && block_result[0] && typeof block_result[0].$$typeof === "symbol")
149
- ))) {
148
+ if (block_result && block_result !== last_buffer_element && block_result !== nil &&
149
+ (typeof block_result === "string" || typeof block_result.$$typeof === "symbol" ||
150
+ (typeof block_result.constructor !== "undefined" && block_result.constructor === Array &&
151
+ block_result[block_result.length - 1] !== last_buffer_element && typeof block_result[block_result.length - 1].$$typeof === "symbol"))) {
150
152
  Opal.React.render_buffer[Opal.React.render_buffer.length - 1].push(block_result);
151
153
  }
152
154
  children = Opal.React.render_buffer.pop()
@@ -192,4 +194,4 @@ module React
192
194
  `Opal.global.React.memo(function_component)`
193
195
  end
194
196
  end
195
- end
197
+ end
@@ -19,9 +19,10 @@ module React
19
19
  let block_result = block.$call()
20
20
  let last_buffer_length = Opal.React.render_buffer[Opal.React.render_buffer.length - 1].length;
21
21
  let last_buffer_element = Opal.React.render_buffer[Opal.React.render_buffer.length - 1][last_buffer_length - 1];
22
- if (block_result && block_result !== last_buffer_element && (block_result !== nil && (typeof block_result === "string" || typeof block_result.$$typeof === "symbol" ||
23
- (typeof block_result.constructor !== "undefined" && block_result.constructor === Array && block_result[0] && typeof block_result[0].$$typeof === "symbol")
24
- ))) {
22
+ if (block_result && block_result !== last_buffer_element && block_result !== nil &&
23
+ (typeof block_result === "string" || typeof block_result.$$typeof === "symbol" ||
24
+ (typeof block_result.constructor !== "undefined" && block_result.constructor === Array &&
25
+ block_result[block_result.length - 1] !== last_buffer_element && typeof block_result[block_result.length - 1].$$typeof === "symbol"))) {
25
26
  Opal.React.render_buffer[Opal.React.render_buffer.length - 1].push(block_result);
26
27
  }
27
28
  }
@@ -19,9 +19,10 @@ module React
19
19
  let block_result = block.$call();
20
20
  let last_buffer_length = Opal.React.render_buffer[Opal.React.render_buffer.length - 1].length;
21
21
  let last_buffer_element = Opal.React.render_buffer[Opal.React.render_buffer.length - 1][last_buffer_length - 1];
22
- if (block_result && block_result !== last_buffer_element && (block_result !== nil && (typeof block_result === "string" || typeof block_result.$$typeof === "symbol" ||
23
- (typeof block_result.constructor !== "undefined" && block_result.constructor === Array && block_result[0] && typeof block_result[0].$$typeof === "symbol")
24
- ))) {
22
+ if (block_result && block_result !== last_buffer_element && block_result !== nil &&
23
+ (typeof block_result === "string" || typeof block_result.$$typeof === "symbol" ||
24
+ (typeof block_result.constructor !== "undefined" && block_result.constructor === Array &&
25
+ block_result[block_result.length - 1] !== last_buffer_element && typeof block_result[block_result.length - 1].$$typeof === "symbol"))) {
25
26
  Opal.React.render_buffer[Opal.React.render_buffer.length - 1].push(block_result);
26
27
  }
27
28
  children = Opal.React.render_buffer.pop();
@@ -43,4 +44,4 @@ module React
43
44
  }
44
45
  end
45
46
  end
46
- end
47
+ end
@@ -1,3 +1,3 @@
1
1
  module React
2
- VERSION = '16.10.1'
2
+ VERSION = '16.10.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-react
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.10.1
4
+ version: 16.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-28 00:00:00.000000000 Z
11
+ date: 2019-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj