1jQuery(function($) { 2 $(document).on('awsmJobBlockListingsData', function(event,parsedListingsAttrs) { 3 parsedListingsAttrs.push('position_filling'); 4 parsedListingsAttrs.push('featured_image_size'); 5 }); 6 7 $(document).on('awsmJobBlockFiltersFormData', function(event,$wrapper,formData) { 8 var position_filling = $wrapper.data('position_filling'); 9 var featured_image_size = $wrapper.data('featured_image_size'); 10 11 if (typeof position_filling !== 'undefined') { 12 formData.push({ 13 name: 'position_filling', 14 value: position_filling 15 }); 16 } 17 18 if (typeof featured_image_size !== 'undefined') { 19 formData.push({ 20 name: 'featured_image_size', 21 value: featured_image_size 22 }); 23 } 24 25 }); 26 27 $(document).on('awsmjobs_block_load_more', function(event,$listingsContainer,wpData) { 28 var position_filling = $listingsContainer.data('position_filling'); 29 var featured_image_size = $listingsContainer.data('featured_image_size'); 30 31 if (typeof position_filling !== 'undefined') { 32 wpData.push({ 33 name: 'position_filling', 34 value: position_filling 35 }); 36 } 37 38 if (typeof featured_image_size !== 'undefined') { 39 wpData.push({ 40 name: 'featured_image_size', 41 value: featured_image_size 42 }); 43 } 44 45 }); 46});
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.