1// var listing = { 2// init: function() { 3// this.initFiltersSubmit(); 4// this.initFiltersBehavior(); 5// this.initTabs(); 6// this.initPaginations(); 7// }, 8// initFiltersBehavior: function() { 9// $('.listing__filter-input').change( function(){ 10// $('#listing-wrapper form').submit(); 11// }); 12// $('.js-filter-clear').click(function() { 13// $(this).closest('.js-filter-list').find('input').prop('checked',false); 14// }); 15// }, 16// initFiltersSubmit: function() { 17// var self = this; 18// $('#listing-wrapper form').submit(function() { 19// var $form = $(this); 20// $.ajax({ 21// url: window.location.origin + window.location.pathname, 22// data: $form.serialize(), 23// success: function (html) { 24// self.processResponse(html); 25// history.pushState({}, null, window.location.origin + window.location.pathname + '?' + $form.serialize()); 26// } 27// }); 28// return false; 29// }); 30// }, 31// initTabs: function() { 32// var self = this; 33// $('#listing-wrapper .page-numbers').click(function() { 34// var url = $(this).attr('href'); 35// $.ajax({ 36// url: url , 37// success: function (html) { 38// self.processResponse(html); 39// } 40// }); 41// return false; 42// }); 43// }, 44// initPaginations: function() { 45// var self = this; 46// $('#listing-wrapper .tab-link').click(function() { 47// var url = $(this).attr('href'); 48// $.ajax({ 49// url: url , 50// success: function (html) { 51// self.processResponse(html); 52// } 53// }); 54// return false; 55// }); 56// }, 57// processResponse: function(response) { 58// var html = $(response); 59// $('#listing-wrapper').html(html.find('#listing-wrapper').html()); 60// this.initFiltersSubmit(); 61// this.initFiltersBehavior(); 62// this.initTabs(); 63// this.initPaginations(); 64// filterDropDownListing(); 65// } 66// }; 67// 68// $(function () { 69// listing.init(); 70// 71// }); 72//
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.