1$(document).ready(function() { 2 'use strict'; 3 4 $('.select2').select2({ 5 minimumResultsForSearch: Infinity 6 }); 7 8 $('#categories').select2({ 9 minimumResultsForSearch: '' 10 }); 11 $('#select-Categories1').select2({ 12 minimumResultsForSearch: '' 13 }); 14 $('#select-Categories2').select2({ 15 minimumResultsForSearch: '' 16 }); 17 $('#select-Categories3').select2({ 18 minimumResultsForSearch: '' 19 }); 20 $('#select-Categories4').select2({ 21 minimumResultsForSearch: '' 22 }); 23 $('#select-Categories5').select2({ 24 minimumResultsForSearch: '' 25 }); 26 $('#select-Categories6').select2({ 27 minimumResultsForSearch: '' 28 }); 29 $('#select-Categories7').select2({ 30 minimumResultsForSearch: '' 31 }); 32 $('#select-Categories8').select2({ 33 minimumResultsForSearch: '' 34 }); 35 $('#select-Categories9').select2({ 36 minimumResultsForSearch: '' 37 }); 38 $('#select-Categories10').select2({ 39 minimumResultsForSearch: '' 40 }); 41 42 // Select2 by showing the search 43 $('.select2-show-search').select2({ 44 minimumResultsForSearch: '', 45 placeholder: "Search" 46 }); 47 48 $('#job').select2({ 49 minimumResultsForSearch: '', 50 placeholder: "Search jobs here " 51 52 }); 53 $('#employe').select2({ 54 minimumResultsForSearch: '', 55 placeholder: "Search profiles here " 56 }); 57 58 function formatState (state) { 59 if (!state.id) { return state.text; } 60 var $state = $( 61 '<span><img src="../assets/images/flags/' + state.element.value.toLowerCase() + 62 '.svg" class="img-flag" /> ' + 63 state.text + '</span>' 64 ); 65 return $state; 66 }; 67 68 $(".select2-flag-search").select2({ 69 templateResult: formatState, 70 templateSelection: formatState, 71 escapeMarkup: function(m) { return m; } 72 }); 73 74 $("select2").select2({ 75 width: '100%' 76 }); 77 $(".ad-post-status").select2({ 78 width: '100%', 79 theme: "classic" 80 }); 81 $(".select2-show-search").select2({ 82 placeholder: "Select Category", 83 width: '100%' 84 }); 85 $(".search-price-max").select2({ 86 placeholder: "Select Pice : Max", 87 width: '100%' 88 }); 89 $(".search-loaction").select2({ 90 placeholder: "Select Location : Any location", 91 width: '100%' 92 }); 93 $(".make").select2({ 94 placeholder: "Select Make : Any make", 95 width: '100%' 96 }); 97 $(".model").select2({ 98 placeholder: "Select Model : Any model", 99 width: '100%' 100 }); 101 $(".bodytype").select2({ 102 placeholder: "Body Type : Select body type", 103 width: '100%' 104 }); 105 $(".search-year").select2({ 106 placeholder: "Select Year : Any Year", 107 allowClear: true, 108 width: '100%' 109 }); 110 111 112 });
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.