1jQuery(document).ready(function($) { 2 3 // Portfolio Filtering 4 $('.nimble-portfolio .-filter').click(function(e) { 5 6 e.preventDefault(); 7 8 $('.nimble-portfolio .-filter.active').removeClass('active'); 9 $(this).addClass('active'); 10 11 var filterVal = $(this).data('rel'); 12 if (filterVal === '*') { 13 $('.nimble-portfolio .-item.hidden').fadeIn('normal').removeClass('hidden'); 14 } else { 15 $('.nimble-portfolio .-item').each(function() { 16 if (!$(this).hasClass(filterVal)) { 17 $(this).fadeOut('slow').addClass('hidden'); 18 } else { 19 $(this).fadeIn('slow').removeClass('hidden'); 20 } 21 }); 22 } 23 24 // Apply lightbox gallery only to current items 25 $('.nimble-portfolio').trigger("nimble_portfolio_lightbox", {items: $("a[data-rel^='nimblebox']", ".nimble-portfolio .-item:not(.hidden)")}); 26 }); 27 28 // DOM loaded, remove the loading animation 29 $('.nimble-portfolio').removeClass("-isloading"); 30 31 // Apply lightbox gallery 32 $('.nimble-portfolio').trigger("nimble_portfolio_lightbox", {items: $("a[data-rel^='nimblebox']")}); 33 34});
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.