add-to-homescreen-rails 3.0.5 → 3.0.6

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: 0ff39dda5d688ba1a5c56b3adea8549e0d45337d
4
- data.tar.gz: 7b993e595dda32db1c5452c3a6acdb573801b512
3
+ metadata.gz: 7c4fc2a82b30dde44af90e80d558beb50789fea1
4
+ data.tar.gz: 11da6ce686473f07ba70d0043e748a84c6e808dc
5
5
  SHA512:
6
- metadata.gz: 6ba5a07bb9aa1b3d4f21204307620966cc17bd59335e0170fff7de229b5ef33eb6703ab97e7aca2d6a50f610362595b7af8606cb0db411305c331ef3cfcb1536
7
- data.tar.gz: 2ddf2e582f5c0d1a64b18a505610341a3cf5d4ec737c4d1b71952fd4a37c01ae616485a981d9bcc1fa2086ae7c056a319d1b5d2b4a74c702345b1230e81f1360
6
+ metadata.gz: 52b3e993ac7310eedc56b203eb1a4e8bafd3d902aadca74b364244c51577a3b133da9a2573b33f35190e0aa132061e0fe464fa976d98f0c288903d0b795ab10f
7
+ data.tar.gz: 0121ddc56c92d2f78ca33d56cb12f2bc2d782e35c68e378880ed410fa056d5b1d05864eaf0334ee96c5ea3ade5205b80307a488df1f85347f7a6309a39b4492f
@@ -1,4 +1,4 @@
1
- /* Add to Homescreen v3.0.5 ~ (c) 2014 Matteo Spinelli ~ @license: http://cubiq.org/license */
1
+ /* Add to Homescreen v3.0.6 ~ (c) 2014 Matteo Spinelli ~ @license: http://cubiq.org/license */
2
2
  (function (window, document) {
3
3
  /*
4
4
  _ _ _____ _____
@@ -10,7 +10,12 @@
10
10
 
11
11
  // Check if document is loaded, needed by autostart
12
12
  var _DOMReady = false;
13
- window.addEventListener('load', loaded, false);
13
+ if ( document.readyState === 'complete' ) {
14
+ _DOMReady = true;
15
+ } else {
16
+ window.addEventListener('load', loaded, false);
17
+ }
18
+
14
19
  function loaded () {
15
20
  window.removeEventListener('load', loaded, false);
16
21
  _DOMReady = true;
@@ -30,6 +35,11 @@ function ath (options) {
30
35
 
31
36
  // message in all supported languages
32
37
  ath.intl = {
38
+ de_de: {
39
+ message: 'Um diese Web-App zum Home-Bildschirm hinzuzufügen, tippen Sie auf %icon und dann <strong>%action</strong>.',
40
+ action: { ios: 'Zum Home-Bildschirm', android: 'Zum Startbildschirm hinzufügen', windows: 'Auf Startseite' }
41
+ },
42
+
33
43
  en_us: {
34
44
  message: 'To add this web app to the home screen: tap %icon and then <strong>%action</strong>.',
35
45
  action: { ios: 'Add to Home Screen', android: 'Add to homescreen', windows: 'pin to start' }
@@ -7,6 +7,7 @@
7
7
  .ath-viewport {
8
8
  position: relative;
9
9
  z-index: 2147483641;
10
+ pointer-events: none;
10
11
 
11
12
  -webkit-tap-highlight-color: rgba(0,0,0,0);
12
13
  -webkit-touch-callout: none;
@@ -22,6 +23,7 @@
22
23
  }
23
24
 
24
25
  .ath-modal {
26
+ pointer-events: auto !important;
25
27
  background: rgba(0,0,0,0.6);
26
28
  }
27
29
 
@@ -30,6 +32,7 @@
30
32
  }
31
33
 
32
34
  .ath-container {
35
+ pointer-events: auto !important;
33
36
  position: absolute;
34
37
  z-index: 2147483641;
35
38
  padding: 0.7em 0.6em;
@@ -2,7 +2,7 @@ module Add
2
2
  module To
3
3
  module Homescreen
4
4
  module Rails
5
- VERSION = "3.0.5"
5
+ VERSION = "3.0.6"
6
6
  end
7
7
  end
8
8
  end
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.5
4
+ version: 3.0.6
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-14 00:00:00.000000000 Z
11
+ date: 2014-05-26 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: