Sha256: a9b0d4f5a3ff404230526652480e76414fc5eb2239eddce1501b14707819f55c

Contents?: true

Size: 1.59 KB

Versions: 4

Compression:

Stored size: 1.59 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1355857733.35861:@value"ð{I"
class:EFI"ProcessedAsset;FI"logical_path;FI"stay-standalone.js;TI"
pathname;FI"4$root/app/assets/javascripts/stay-standalone.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2012-11-15T14:34:39-05:00;FI"length;Fi8I"digest;F"%0afd21abe0b296b7f81c097abaf5392aI"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"%5f8da7c88579dc5d912480146cca4952I"required_paths;F[I"4$root/app/assets/javascripts/stay-standalone.js;TI"dependency_paths;F[{I"	path;FI"4$root/app/assets/javascripts/stay-standalone.js;TI"
mtime;FI"2012-11-15T14:34:39-05:00;FI"digest;F"%0b2d29276f3581cae7d693dd2b281528I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
woople-theme-0.10.0 spec/dummy/tmp/cache/assets/DCA/A60/sprockets%2Fb57a50add9380e19afc4b7d055cfec44
woople-theme-0.9.0 spec/dummy/tmp/cache/assets/DCA/A60/sprockets%2Fb57a50add9380e19afc4b7d055cfec44
woople-theme-0.8.19 spec/dummy/tmp/cache/assets/DCA/A60/sprockets%2Fb57a50add9380e19afc4b7d055cfec44
woople-theme-0.8.18 spec/dummy/tmp/cache/assets/DCA/A60/sprockets%2Fb57a50add9380e19afc4b7d055cfec44