1jQuery(function($){ 2 count = 0; 3 all_texts = new Array(); 4 $('.mg_ajax_widget').each(function(){ 5 $widget = $(this); 6 $widget.attr('id','mg_widget'+count); 7 var text = $widget.attr('data-text'); 8 9 if( text !== null && typeof text !== 'undefined' ) 10 all_texts[count] = text; 11 12 if( $('.mg_ajax_widget').length == count+1 ){ 13 $.post(mg_ajax.ajax_url, { action: 'mg_ajax_text', data: all_texts }, function(response){ 14 response = $.parseJSON(response); 15 for( i=0; i <= response.length; i++ ){ 16 $('#mg_widget'+i).html(response[i]); 17 } 18 }); 19 } 20 count++; 21 }); 22});
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.