add-to-homescreen-rails 3.0.1 → 3.0.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c84522bd565b265474d05168d35ffad4b797ff70
|
4
|
+
data.tar.gz: 7961a502f3e1a97cadfb132036b6af2e319be94a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fc31c6cc6b082cc2de78015f57c079d7dc1b370c0b4e2ce4d990baf02029c79b1e1fe229189df132bda5d256c8accc2830d23b182a4e89132085fec7741f0e5
|
7
|
+
data.tar.gz: 17de1d8373eb90943b95a985f65e2c216a4c44dc7c5cf96dc2b740628271ffb96791b37396eac233e1317e9db66d36a7ba640ec158fa02e0e1ff447a0be5fc58
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/* Add to Homescreen v3.0.
|
1
|
+
/* Add to Homescreen v3.0.2 ~ (c) 2014 Matteo Spinelli ~ @license: http://cubiq.org/license */
|
2
2
|
(function (window, document) {
|
3
3
|
/*
|
4
4
|
_ _ _____ _____
|
@@ -94,7 +94,7 @@ ath.OSVersion = ath.OSVersion && ath.OSVersion[2] ? +ath.OSVersion[2].replace('_
|
|
94
94
|
ath.isStandalone = window.navigator.standalone || ( ath.isMobileChrome && ( screen.height - document.documentElement.clientHeight < 40 ) ); // TODO: check the lame polyfill
|
95
95
|
ath.isTablet = (ath.isMobileSafari && _ua.indexOf('iPad') > -1) || (ath.isMobileChrome && _ua.indexOf('Mobile') < 0);
|
96
96
|
|
97
|
-
ath.isCompatible = (ath.
|
97
|
+
ath.isCompatible = (ath.isMobileSafari && ath.OSVersion >= 6) || ath.isMobileChrome; // TODO: add winphone
|
98
98
|
|
99
99
|
// falls back to en_us if language is unsupported
|
100
100
|
ath.language = ath.language && ath.language in ath.intl ? ath.language : 'en_us';
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: add-to-homescreen-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RogerE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Provides the 'Add to Home screen' assets for your Rails application.
|
14
14
|
email:
|