1function p_ma_init(pc, le) { 2 if (!$('html').find('.match').length) { 3 $('html').append('<div class="match"></div>'); 4 $('html').find('.match').load('/match/request/?le=' + le, function() { 5 $('html, body').animate({scrollTop:'0px'}); 6 $('.match .p_ma_m .ti').hide(); 7 p_ma_add(pc, le); 8 }); 9 } 10} 11 12function p_ma_add(pc, le) { 13 var msg = $('.match .p_ma_m .msg'); 14 msg.html('<span class="lo"></span>'); 15 $.ajax({ 16 url: $('base').attr('href') + "user/user/match/ajax.jsp", 17 type: "post", 18 data: "on=1&pc=" + pc + "&le=" + le, 19 success: function(response) { 20 response = $.trim(response); 21 switch (response) { 22 case '': 23 case '0': 24 msg.html($('#p_ma_error').html()); 25 break; 26 case '2': 27 p_u_1_set(''); 28 break; 29 case '3': 30 $(location).attr('href', 'gateway/'); 31 break; 32 case '4': 33 $.cookie('gc', '', {path:'/celebrity-challenge/'}); 34 location.reload(); 35 break; 36 default: 37 $.cookie('mc', response, {path:'/celebrity-challenge/'}); 38 $(location).attr('href', 'match/' + response + '/'); 39 break; 40 } 41 }, error: function() { 42 msg.html($('#p_ma_error').html()); 43 }, failure: function() { 44 msg.html($('#p_ma_error').html()); 45 } 46 }); 47}
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.