isomorfeus-redux 4.0.20 → 4.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/execution_environment.rb +2 -2
- data/lib/redux/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: 19bbbb5e2f13c5e706f5d47d12e848f5734b7f83345a72c1c756608566c12101
|
4
|
+
data.tar.gz: c93fc41b2e042af1da72e4ee2990f7055586e515cc6eaa8816a5a96062e8ce0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b412b3d03d000c9015cee26818b5873cfa7655438fbd63339ae8b2e40d9437991ee18844f1978f1bb7ab06d37ef851c658f4189bd09c2ab7b6a7a13d12afec39
|
7
|
+
data.tar.gz: dbd289172c68b7f5dd5136bea2a5499bbf20d0140db0ae509194d66dbc8f6f846b56329b690741282438be56179698b047b4fc5605f6bf4c5d338bba5f78bcff
|
@@ -53,8 +53,8 @@ module Isomorfeus
|
|
53
53
|
|
54
54
|
self.on_ssr = `(typeof process === 'object' && typeof process.release === 'object' && typeof process.release.name === 'string' && process.release.name === 'node') ? true : false`
|
55
55
|
self.on_desktop = `(typeof navigator === 'object' && typeof navigator.userAgent === 'string' && navigator.userAgent.toLowerCase().indexOf(' electron/') > -1) ? true : false`
|
56
|
-
self.on_ios = `(typeof Platform === 'object' && typeof Platform.OS === 'string' && Platform.OS.toLowerCase().includes
|
57
|
-
self.on_android = `(typeof Platform === 'object' && typeof Platform.OS === 'string' && Platform.OS.toLowerCase().includes
|
56
|
+
self.on_ios = `(typeof Platform === 'object' && typeof Platform.OS === 'string' && Platform.OS.toLowerCase().includes('ios')) ? true : false`
|
57
|
+
self.on_android = `(typeof Platform === 'object' && typeof Platform.OS === 'string' && Platform.OS.toLowerCase().includes('android')) ? true : false`
|
58
58
|
self.on_mobile = self.on_ios? || self.on_android?
|
59
59
|
self.on_database = false
|
60
60
|
self.on_browser = !self.on_ssr? && !self.on_desktop? && !self.on_mobile? && !self.on_database?
|
data/lib/redux/version.rb
CHANGED