isomorfeus-react 16.10.3 → 16.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lucid_component/app_store_proxy.rb +5 -1
- data/lib/react/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e390e7a60d960e4f5505a7ba204ae646f5e1fbb9ec9456f92225af8f812dea29
|
4
|
+
data.tar.gz: c44535422d9175dbb3a289bb52ac823d35bc508c92865f75cae635f6bbba199b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 430093313eccc5fa2f9277d533b9ddd88dbebf5095bbee93e369943336ec3944f89cc7836f014b71d339ddd2fd4c285303ccaaf2917381e165784b4c4714c31d
|
7
|
+
data.tar.gz: 8da7f0fba7ff5ec841458ccf2fe785936336e9a14adbe78689b8ef64e4d2ce183755a86554f3e8ac50e05cde37e1d1f527761a43ee19fe3a6b2b949991cc2751
|
@@ -12,8 +12,12 @@ module LucidComponent
|
|
12
12
|
Isomorfeus.store.dispatch(action)
|
13
13
|
else
|
14
14
|
# check if we have a component local state value
|
15
|
-
if `this.native_component_instance.context.application_state.hasOwnProperty(key)`
|
15
|
+
if `this.native_component_instance.context.application_state && this.native_component_instance.context.application_state.hasOwnProperty(key)`
|
16
16
|
return @native_component_instance.JS['context'].JS[:application_state].JS[key]
|
17
|
+
end
|
18
|
+
a_state = Isomorfeus.store.get_state
|
19
|
+
if a_state.key?(:application_state) && a_state[:application_state].key?(key)
|
20
|
+
return a_state[:application_state][key]
|
17
21
|
elsif @component_instance.class.default_app_store_defined && @component_instance.class.app_store.to_h.key?(key)
|
18
22
|
# check if a default value was given
|
19
23
|
return @component_instance.class.app_store.to_h[key]
|
data/lib/react/version.rb
CHANGED
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.
|
4
|
+
version: 16.10.4
|
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-10-
|
11
|
+
date: 2019-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|