1jQuery(document).ready(function( $ ) { 2 3 /* Navigation */ 4 $('.stellarnav').stellarNav({ 5 breakpoint: 768, 6 }); 7 8 /* Flex Slider */ 9 $('.flexslider').flexslider({ 10 animation: "slide", 11 nextText: "", 12 prevText: "" 13 }); 14 15 /* Remove emplty div widgets */ 16 $('.widget div.widget-content').each(function(){ 17 if($(this).children().length == 0){ 18 $(this).remove(); 19 } 20 }); 21 22 23 /* Instagram Feed */ 24 var instagramUsername = $('.instagram-area').data('instagramUsername'); 25 if( instagramUsername !== '' ) { 26 $(window).on('load', function(){ 27 $.instagramFeed({ 28 'username': instagramUsername, 29 'container': ".instagram-posts", 30 'display_profile': false, 31 'display_biography': false, 32 'display_gallery': true, 33 'get_raw_json': false, 34 'callback': null, 35 'styling': true, 36 'items': 8, 37 'items_per_row': 8, 38 'margin': 0, 39 }); 40 }); 41 } 42 43 /* FitVids */ 44 $(".post-video").fitVids(); 45 46 /* Go Top */ 47 $('.go-top').on('click', function(event) { 48 event.preventDefault(); 49 $('html, body').animate({ scrollTop: 0 }, 'slow'); 50 }); 51 52}); 53
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.