1jQuery.noConflict(); 2jQuery(document).ready(function($){ 3 // Clone applications to get a second collection 4 var $data = J(".filter-posts").clone(); 5 6 J('.filter-list li').click(function(e) { 7 J(".filter li").removeClass("active"); 8 // Use the last category class as the category to filter by. 9 var filterClass=J(this).attr('class').split(' ').slice(-1)[0]; 10 11 if (filterClass == 'all-projects') { 12 var $filteredData = $data.find('.project'); 13 } else { 14 var $filteredData = $data.find('.project[data-type~=' + filterClass + ']'); 15 } 16 J(".filter-posts").quicksand($filteredData, { 17 duration: 400, 18 easing: 'jswing', 19 adjustHeight: 'auto', 20 }); 21 J(this).addClass("active"); 22 return false; 23 }); 24});
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.