Sha256: 34f393fb05d6c9ff8f06ac8049c4a4edfbc05a90634beb30d05fbe0f75737117

Contents?: true

Size: 1.58 KB

Versions: 7

Compression:

Stored size: 1.58 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1352836407.1383271:@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/DCA/A60/sprockets%2Fb57a50add9380e19afc4b7d055cfec44
woople-theme-0.8.15 spec/dummy/tmp/cache/assets/DCA/A60/sprockets%2Fb57a50add9380e19afc4b7d055cfec44
woople-theme-0.8.10 spec/dummy/tmp/cache/assets/DCA/A60/sprockets%2Fb57a50add9380e19afc4b7d055cfec44
woople-theme-0.8.8 spec/dummy/tmp/cache/assets/DCA/A60/sprockets%2Fb57a50add9380e19afc4b7d055cfec44
woople-theme-0.8.6 spec/dummy/tmp/cache/assets/DCA/A60/sprockets%2Fb57a50add9380e19afc4b7d055cfec44
woople-theme-0.8.2 spec/dummy/tmp/cache/assets/DCA/A60/sprockets%2Fb57a50add9380e19afc4b7d055cfec44
woople-theme-0.8.0 spec/dummy/tmp/cache/assets/DCA/A60/sprockets%2Fb57a50add9380e19afc4b7d055cfec44