1$(function(){ 2 var kod; 3 var arama_alan; 4 var arama_alan = $('.arama_alan_radio:checked').val(); 5 6 $('.arama_alan_radio').change(function(){ 7 if($(this).is(':checked')) 8 { 9 arama_alan = $(this).val(); 10 } 11 }); 12 13 $('#arama').autocompleter({ 14 source: '/makale_ara', 15 template: '<div class="aranan_deger">{{ label }}</div>\ 16 <div class="aranan_icerik">{{ kisa_icerik }}</div>\ 17 <div class="cizgi"> </div>', 18 cache: false, 19 limit: 10, 20 combine: function(params){ 21 return { 22 alan: arama_alan, 23 query: $('#arama').val() 24 } 25 }, 26 callback: function(value, index, object){ 27 window.location = '/makale/' + object.link 28 } 29 }); 30 31 $('#arama_2').autocompleter({ 32 source: '/makale_ara', 33 template: '<div class="aranan_deger">{{ label }}</div>\ 34 <div class="aranan_icerik">{{ kisa_icerik }}</div>\ 35 <div class="cizgi"> </div>', 36 cache: false, 37 limit: 10, 38 combine: function(params){ 39 return { 40 alan: arama_alan, 41 query: $('#arama_2').val() 42 } 43 }, 44 callback: function(value, index, object){ 45 window.location = '/makale/' + object.link 46 } 47 }); 48 49 $('#arama').keypress(function(event){ 50 kod = (event.keyCode ? event.keyCode : event.which); 51 arama_alan = $('.arama_alan_radio:checked').val(); 52 if(kod == 13) 53 { 54 window.location = '/arama/' + arama_alan + '/' + $(this).val(); 55 } 56 }); 57});
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.