1jQuery(function ($) { 2 3 'use strict'; 4 5 // ---------------------------------------------- 6 // Isotope Filter 7 // ---------------------------------------------- 8 (function () { 9 var winDow = $(window); 10 var $container=$('.sp-isotope-logo-items'); 11 var $filter=$('.sp-logo-filter'); 12 13 try{ 14 $container.imagesLoaded( function(){ 15 $container.show(); 16 $container.isotope({ 17 filter:'*', 18 layoutMode:'masonry', 19 animationOptions:{ 20 duration:750, 21 easing:'linear' 22 } 23 }); 24 }); 25 } catch(err) { 26 } 27 28 winDow.bind('resize', function(){ 29 var selector = $filter.find('a.active').attr('data-filter'); 30 31 try { 32 $container.isotope({ 33 filter : selector, 34 animationOptions: { 35 duration: 750, 36 easing : 'linear', 37 queue : false, 38 } 39 }); 40 } catch(err) { 41 } 42 return false; 43 }); 44 45 $filter.find('a').click(function(){ 46 var selector = $(this).attr('data-filter'); 47 48 try { 49 $container.isotope({ 50 filter : selector, 51 animationOptions: { 52 duration: 750, 53 easing : 'linear', 54 queue : false, 55 } 56 }); 57 } catch(err) { 58 59 } 60 return false; 61 }); 62 63 64 var filterItemA = $('.sp-logo-filter a'); 65 66 filterItemA.on('click', function(){ 67 var $this = $(this); 68 if ( !$this.hasClass('active')) { 69 filterItemA.removeClass('active'); 70 $this.addClass('active'); 71 } 72 }); 73 }()); 74 75 76 77 78});
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.