1if ("ontouchstart" in window) { 2 document.documentElement.className = document.documentElement.className + " touch-enabled"; 3} 4if (navigator.userAgent.match(/(iPod|iPhone|iPad|Android)/i)) { 5 document.documentElement.className = document.documentElement.className + " no-parallax"; 6} 7jQuery(document).ready(function ($) { 8 9 10 if (window.one_page_express_backstretch) { 11 12 window.one_page_express_backstretch.duration = parseInt(window.one_page_express_backstretch.duration); 13 window.one_page_express_backstretch.transitionDuration = parseInt(window.one_page_express_backstretch.transitionDuration); 14 15 var images = one_page_express_backstretch.images; 16 17 if (!images) { 18 return; 19 } 20 21 jQuery('.header-homepage, .header').backstretch(images, one_page_express_backstretch); 22 } 23 24 25 var masonry = $(".post-list-c"); 26 if (masonry.length) { 27 masonry.masonry({ 28 itemSelector: '.post-list-item', 29 percentPosition: true, 30 }); 31 32 masonry.find('img').each(function () { 33 setTimeout(function () { 34 masonry.data().masonry.layout(); 35 }, 500); 36 }); 37 } 38 39 $('.header-homepage-arrow-c').click(function () { 40 scrollToSection($('body').find('[data-id]').first()); 41 }); 42}); 43 44 45(function ($) { 46 var masonry = $(".post-list-c"); 47 48 var images = masonry.find('img'); 49 var loadedImages = 0; 50 51 function imageLoaded() { 52 loadedImages++; 53 if (images.length === loadedImages) { 54 masonry.data().masonry.layout(); 55 } 56 } 57 58 images.each(function () { 59 $(this).on('load', imageLoaded); 60 }); 61 62 var morphed = $("[data-text-effect]"); 63 if (morphed.length && JSON.parse(one_page_express_settings.header_text_morph)) { 64 morphed.each(function () { 65 $(this).empty(); 66 $(this).typed({ 67 strings: JSON.parse($(this).attr('data-text-effect')), 68 typeSpeed: parseInt(one_page_express_settings.header_text_morph_speed), 69 loop: true 70 }); 71 72 }); 73 } 74})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.