1function jsLiveCheckUpdts(){ 2 var match_id = jQuery("#match_id").val(); 3 var data = { 4 'action': 'livematch_score', 5 'match_id' : match_id, 6 }; 7 8 9 jQuery.post(ajaxurl, data, function(res) { 10 var IS_JSON = true; 11 12 try 13 { 14 var json = JSON.parse(res); 15 } 16 catch(err) 17 { 18 IS_JSON = false; 19 } 20 if(IS_JSON){ 21 22 //if(json.error == '0'){ 23 //var jshtml = JSON.parse(json.html); 24 //console.log(jshtml); 25 26 if(json.score){ 27 jQuery(".BigMScore1").html(json.score[0]); 28 jQuery(".BigMScore2").html(json.score[1]); 29 30 var divMobile = jQuery(".jsMatchDivMobile").find(".jsScoreDiv"); 31 32 var scoreIs = divMobile.find("a"); 33 scoreIs.html(json.score[0] + ' - ' + json.score[1]); 34 35 if(json.ticker){ 36 37 jQuery("#jsMatchBigTicker").html(json.ticker); 38 } 39 } 40 if(json.plstat){ 41 jQuery("#jsPlayerStatMatchDiv").html(json.plstat); 42 } 43 if(json.plsquad){ 44 jQuery("#stab_squad").html(json.plsquad); 45 } 46 47 48 49 var d_jsLUP = new Date(); 50 jslive_last_upd = d_jsLUP.toUTCString(); 51 //} 52 } 53 }); 54 } 55
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.