1/* Aura version: 1.8.5 */ 2 3jQuery(function($){ 4 5 //region Isotope 6 if($.fn.isotope) { 7 8 var $w = $(window); 9 10 $w.load(function () { 11 var $isotops = $('.isotope'); 12 13 $isotops.each(function () { 14 var $el = $(this), 15 defaultFilter = $el.data('isotopeDefaultFilter') || 0, 16 id = $el.attr('id'), 17 mode = $el.data('isotopeMode') || 'fitRows', 18 tmt; 19 20 21 $el.isotope({ 22 filter: defaultFilter, 23 itemSelector: '.isotope-item', 24 layoutMode: mode, 25 animationOptions: { 26 duration: 400, 27 queue: false 28 } 29 }); 30 31 32 $w.resize(function(){ 33 clearTimeout(tmt); 34 tmt = setTimeout(function(){ 35 $el.isotope('layout'); 36 }, 150); 37 }); 38 39 var $menu = $('[data-isotope-nav="' + id + '"]'); 40 41 if ($menu.length) { 42 $menu.find('a').click(function (e) { 43 var $link = $(this); 44 if(!$link.hasClass('pi-active')){ 45 var selector = $link.attr('data-filter'); 46 $link.parents('ul').eq(0).find('.pi-active').removeClass('pi-active'); 47 $link.addClass('pi-active'); 48 $el.isotope({ filter: selector }); 49 } 50 e.preventDefault(); 51 }); 52 } 53 54 $w.resize(); 55 56 }); 57 58 }); 59 60 } 61 //endregion 62 63});
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.