1jQuery('document').ready(function(){ 2 3 $ = jQuery; 4 5 var form = $('form#tikemp_usearch_form'); 6 7 form.submit(function(e) { 8 9 e.preventDefault(); 10 11 var user = $('#tikemp_username').val(); 12 var nonce = $('input[name="tikemp_search_nonce"]').val(); 13 14 $.ajax({ 15 type : 'POST', 16 url : tikemp_ajax_url, 17 data : { 18 action : 'tikemp_user_search', 19 username : user, 20 nonce : nonce 21 }, 22 beforeSend : function() { 23 $('#tikemp_username').prop('disabled',true); 24 }, 25 success : function( response ) { 26 $('#tikemp_username').prop( 'disabled', false ); 27 $('#tikemp_usearch_result').html( response ); 28 } 29 }); 30 31 return false; 32 }); 33 34 $('#wp-admin-bar-tikemp_impresonate_user').click(function(){ 35 $('input[id="tikemp_username"]').focus(); 36 }); 37 38 $('#tikemp_usearch_result').niceScroll({ 39 autohidemode:'leave' 40 }); 41 42});
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.