1jQuery(function($){ 2 $('body').on('click', '.aw_upload_image_button', function(e){ 3 e.preventDefault(); 4 aw_uploader = wp.media({ 5 title: 'Custom image', 6 button: { 7 text: 'Use this image' 8 }, 9 multiple: false 10 }).on('select', function() { 11 var attachment = aw_uploader.state().get('selection').first().toJSON(); 12 $('#cat-image').val(attachment.url); 13 }) 14 .open(); 15 }); 16});
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.