isomorfeus-react 16.8.2 → 16.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/react_view_helper.rb +1 -1
- data/lib/lucid_app/api.rb +0 -6
- data/lib/lucid_app/mixin.rb +1 -0
- data/lib/lucid_material/app/mixin.rb +2 -1
- data/lib/react/component/props.rb +2 -5
- data/lib/react/component/styles.rb +2 -5
- data/lib/react/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87da6715bc1c82a1d0399ccc0cf50405c03ba38c221d8a2aef1a3b7bfb133cdc
|
4
|
+
data.tar.gz: 2be16e621f8df169986563a2c63311f732eb887a9de849f3d734bcd5302dc639
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbf289350bacb3952d36737f147fe03382e9613c719af481cd68bab554e0e66655ec4b74f3d5a700dfa5412799f61667e75bd1b009626b92b62256ca5fe33879
|
7
|
+
data.tar.gz: 3ceaa36ed316f28f653e45cabe8697d44bc2375ee2daaf51dc0dfcd246991cd024ddd9cb6391fbb027d43201e429aa0a151c6fcf58c33b42f9fbb31b9af3e80c
|
@@ -20,7 +20,7 @@ module Isomorfeus
|
|
20
20
|
return [rendered_tree, application_state]
|
21
21
|
JAVASCRIPT
|
22
22
|
rendered_tree, application_state = Isomorfeus.ssr_contexts[asset].exec(javascript)
|
23
|
-
render_result << "data-iso-state='#{Oj.dump(application_state, mode: :strict)}'>"
|
23
|
+
render_result << " data-iso-state='#{Oj.dump(application_state, mode: :strict)}'>"
|
24
24
|
render_result << rendered_tree
|
25
25
|
else
|
26
26
|
render_result << '>'
|
data/lib/lucid_app/api.rb
CHANGED
data/lib/lucid_app/mixin.rb
CHANGED
@@ -11,6 +11,7 @@ module LucidApp
|
|
11
11
|
base.include(::React::Component::Callbacks)
|
12
12
|
base.include(::React::ReduxComponent::API)
|
13
13
|
base.include(::LucidApp::API)
|
14
|
+
base.include(::LucidComponent::Initializer)
|
14
15
|
base.include(::React::Component::Features)
|
15
16
|
base.include(::React::Component::Resolution)
|
16
17
|
end
|
@@ -5,13 +5,14 @@ module LucidMaterial
|
|
5
5
|
base.include(::Native::Wrapper)
|
6
6
|
base.extend(::LucidMaterial::App::NativeComponentConstructor)
|
7
7
|
base.extend(::React::Component::ShouldComponentUpdate)
|
8
|
-
base.extend(::
|
8
|
+
base.extend(::LucidComponent::EventHandler)
|
9
9
|
base.include(::React::Component::Elements)
|
10
10
|
base.include(::React::Component::API)
|
11
11
|
base.include(::React::Component::Callbacks)
|
12
12
|
base.include(::React::ReduxComponent::API)
|
13
13
|
base.include(::LucidMaterial::Component::API)
|
14
14
|
base.include(::LucidApp::API)
|
15
|
+
base.include(::LucidComponent::Initializer)
|
15
16
|
base.include(::React::Component::Features)
|
16
17
|
base.include(::React::Component::Resolution)
|
17
18
|
end
|
@@ -6,11 +6,8 @@ module React
|
|
6
6
|
def method_missing(prop, *args, &block)
|
7
7
|
%x{
|
8
8
|
var prop_name = Opal.React.lower_camelize(prop);
|
9
|
-
if (typeof #@native[prop_name] === 'undefined') {
|
10
|
-
|
11
|
-
} else {
|
12
|
-
return #@native[prop_name];
|
13
|
-
}
|
9
|
+
if (typeof #@native[prop_name] === 'undefined') { return #{nil}; }
|
10
|
+
return #@native[prop_name];
|
14
11
|
}
|
15
12
|
end
|
16
13
|
|
@@ -7,11 +7,8 @@ module React
|
|
7
7
|
|
8
8
|
def method_missing(prop, *args, &block)
|
9
9
|
%x{
|
10
|
-
if (typeof #@native[prop] === 'undefined') {
|
11
|
-
|
12
|
-
} else {
|
13
|
-
return #@native[prop];
|
14
|
-
}
|
10
|
+
if (typeof #@native[prop] === 'undefined') { return #{nil}; }
|
11
|
+
return #@native[prop];
|
15
12
|
}
|
16
13
|
end
|
17
14
|
|
data/lib/react/version.rb
CHANGED