1(function ($) { 2 "use strict"; 3 4 $(document).ready(function () { 5 thim_sc_photo_wall.init(); 6 }); 7 8 var thim_sc_photo_wall = window.thim_sc_photo_wall = { 9 10 init: function () { 11 var item = $(".grid-item.hide_mobile"); 12 if ($(window).width() <= 480) { 13 item.hide(); 14 } 15 $('.thim-sc-photo-wall .grid').imagesLoaded(function () { 16 $('.thim-sc-photo-wall .grid').masonry({ 17 itemSelector: '.grid-item', 18 columnWidth : '.grid-item', 19 }); 20 }); 21 22 // this.scroll(); 23 }, 24 25 scroll: function () { 26 if (jQuery().waypoint) { 27 var relayout = true; 28 29 var waypoints = $('.thim-sc-photo-wall').waypoint(function () { 30 if (relayout) { 31 $('.thim-sc-photo-wall').imagesLoaded(function () { 32 $('.thim-sc-photo-wall .grid').masonry(); 33 relayout = false; 34 }); 35 } 36 }, { 37 offset: '100%' 38 }) 39 40 } 41 }, 42 } 43})(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.