Sha256: 3203642cc4a1dd314d755706c71c8e774ad5e2c7c8e8a84aebfd6b396a987ba6
Contents?: true
Size: 1.59 KB
Versions: 8
Compression:
Stored size: 1.59 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1353526670.510474:@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"%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; 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"%d0aef16e49b2e0b2652f7aae13b0e8c2I" _version; F"%9f3b95dd7ea3030dc35985c0a8020862
Version data entries
8 entries across 8 versions & 1 rubygems