Sha256: 597d0f1403c7e14dd9d5eb05c9ae998c7dff0d12b3c8b8ee5961505b2ea9f750

Contents?: true

Size: 1.58 KB

Versions: 7

Compression:

Stored size: 1.58 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1352836407.136429:@value"ë{I"
class:EFI"ProcessedAsset;FI"logical_path;F"stay-standalone.jsI"
pathname;FI"4$root/app/assets/javascripts/stay-standalone.js;FI"content_type;FI"application/javascript;FI"
mtime;FI"2012-11-13T14:50:14-05:00;FI"length;Fi8I"digest;F"%07ba879768250c3cc798219cb5c2924fI"source;FI"8// from https://gist.github.com/1042026
// Mobile Safari in standalone mode
if(("standalone" in window.navigator) && window.navigator.standalone){

  // If you want to prevent remote links in standalone web apps opening Mobile Safari, change 'remotes' to true
  var noddy, remotes = true;

  document.addEventListener('click', function(event) {

    noddy = event.target;

    // Bubble up until we hit link or top HTML element. Warning: BODY element is not compulsory so better to stop on HTML
    while(noddy.nodeName !== "A" && noddy.nodeName !== "HTML") {
      noddy = noddy.parentNode;
    }

    if('href' in noddy && noddy.href.indexOf('http') !== -1 && (noddy.href.indexOf(document.location.host) !== -1 || remotes)) {
      event.preventDefault();
      document.location.href = noddy.href;
    }

  },false);
}
;
;FI"dependency_digest;F"%874e501d6bf35336d9f16e1c4e8e9c99I"required_paths;F[I"4$root/app/assets/javascripts/stay-standalone.js;FI"dependency_paths;F[{I"	path;FI"4$root/app/assets/javascripts/stay-standalone.js;FI"
mtime;FI"2012-11-13T14:50:14-05:00;FI"digest;F"%d0aef16e49b2e0b2652f7aae13b0e8c2I"
_version;F"%9f3b95dd7ea3030dc35985c0a8020862

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
woople-theme-0.8.16 spec/dummy/tmp/cache/assets/D7C/670/sprockets%2Ff65b8deb4fc219168f5d9d5d154834ac
woople-theme-0.8.15 spec/dummy/tmp/cache/assets/D7C/670/sprockets%2Ff65b8deb4fc219168f5d9d5d154834ac
woople-theme-0.8.10 spec/dummy/tmp/cache/assets/D7C/670/sprockets%2Ff65b8deb4fc219168f5d9d5d154834ac
woople-theme-0.8.8 spec/dummy/tmp/cache/assets/D7C/670/sprockets%2Ff65b8deb4fc219168f5d9d5d154834ac
woople-theme-0.8.6 spec/dummy/tmp/cache/assets/D7C/670/sprockets%2Ff65b8deb4fc219168f5d9d5d154834ac
woople-theme-0.8.2 spec/dummy/tmp/cache/assets/D7C/670/sprockets%2Ff65b8deb4fc219168f5d9d5d154834ac
woople-theme-0.8.0 spec/dummy/tmp/cache/assets/D7C/670/sprockets%2Ff65b8deb4fc219168f5d9d5d154834ac