isomorfeus-react 16.13.7 → 16.13.8

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: 00ebd90f9dcc932229cd15abf790ba5b3cdfeb793d56cb0521f98a953a3b4371
4
- data.tar.gz: 929ac44e9f43761ce833a3c704d80d88cc9aa20bb5c47ef20d612986d5f16092
3
+ metadata.gz: f67822be9b751d903e6d1415ff490453c257885f4e699ad762c084f531daccfe
4
+ data.tar.gz: a6199d933fcfa3114aa1e65e34625c53f239aacccde3fe3255c6ff977d3a16c8
5
5
  SHA512:
6
- metadata.gz: 8b008ddea28e398f7c5d777e2f27fd99c6b0a18780d58cd7108f6f203c25d571fbd18f2268fed1fe37e6ad9b681c2cd3cfbdc938dadda831c778691fe2ba56b4
7
- data.tar.gz: c36be091b3c641a9eefc22516895288dbaab2a335b150f06c4e0f76aaf1513350d18d73a569203fb1e22f8fc733912d78a35e732131b06cbbe07bb1bd7d799d3
6
+ metadata.gz: 73006371dbdf55f4ffa13d45592e1032c149da4a9a6402b067ae98fd11aba9673d4538a777ba6e4cadf3b0dbba39c93b7d7bfdd122705dc22c9e360d8f1d130d
7
+ data.tar.gz: 9f58f046646eca578f92f0586afd8386da05fd134898679023284d66b5e5fab6c56d6b762e764eaf200006468954bd99b1b81ad975b48eb4954a1364fe8b4064
@@ -3,7 +3,7 @@ if RUBY_ENGINE == 'opal'
3
3
  require 'active_support/core_ext/string'
4
4
  require 'zeitwerk'
5
5
 
6
- if Isomorfeus.on_browser?
6
+ if on_browser?
7
7
  require 'browser/event'
8
8
  require 'browser/event_target'
9
9
  require 'browser/delegate_native'
@@ -13,7 +13,7 @@ if RUBY_ENGINE == 'opal'
13
13
  require 'isomorfeus/react_config'
14
14
 
15
15
  # allow mounting of components
16
- if Isomorfeus.on_browser?
16
+ if on_browser?
17
17
  require 'isomorfeus/top_level'
18
18
  else
19
19
  require 'isomorfeus/top_level_ssr'
@@ -25,7 +25,7 @@ if RUBY_ENGINE == 'opal'
25
25
  require 'react/synthetic_event'
26
26
  require 'react/ref'
27
27
  require 'react/children'
28
- if Isomorfeus.on_browser?
28
+ if on_browser?
29
29
  require 'react_dom'
30
30
  else
31
31
  require 'react_dom_server'
@@ -88,7 +88,7 @@ module Isomorfeus
88
88
  def force_render
89
89
  begin
90
90
  if Isomorfeus.top_component
91
- ReactDOM.find_dom_node(Isomorfeus.top_component) # if not mounted will raise
91
+ ReactDOM.find_dom_node(Isomorfeus.top_component) if on_browser? || on_desktop? # if not mounted will raise
92
92
  if `typeof Opal.global.deepForceUpdate === 'undefined'`
93
93
  Isomorfeus.top_component.JS.forceUpdate()
94
94
  else
data/lib/react/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module React
2
- VERSION = '16.13.7'
2
+ VERSION = '16.13.8'
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.13.7
4
+ version: 16.13.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-14 00:00:00.000000000 Z
11
+ date: 2020-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby