1( function($) { 2 jQuery(window).load(function(){ 3 4 if(jQuery('.ihf-ajax-description').length) { 5 jQuery('.ihf-ajax-description').each(function () { 6 $d = jQuery(this); 7 8 if($d.hasClass('exclude-ajax')){ 9 return; 10 } 11 12 $listing_url = $d.data('url'); 13 14 if ($listing_url) { 15 jQuery.post( 16 ajax_object.ajax_url, 17 { 18 'action': 'ihf_listing_excerpt_by_url', 19 'listing-url': $listing_url 20 }, 21 function ($result) { 22 $data = jQuery.parseJSON($result); 23 if ($data.listing_id && $data.excerpt) { 24 $target_container = jQuery(".ihf-ajax-description[data-id='" + $data.listing_id + "']"); 25 $target_container.append($data.excerpt); 26 } else { 27 console.log('There\'s an error on ajax returned data.'); 28 } 29 } 30 ); 31 } 32 }); 33 } 34 35 }); 36 37})(jQuery); 38 39// [ihf-featured-property url ="" listing-description="true"]
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.