1jQuery(document).ready(function($){ 2 $( ".sp-sponsor[data-ajaxurl]" ).on( "click", function() { 3 var self = $( this ); 4 ajax_options = { 5 action: "sp_clicks", 6 nonce: self.data("nonce"), 7 ajaxurl: self.data("ajaxurl"), 8 post_id: self.data("post") 9 }; 10 $.post( ajax_options.ajaxurl, ajax_options, function() { 11 return true; 12 }); 13 }); 14 15 $( ".sp-sponsors-loader" ).each(function() { 16 var self = $( this ); 17 ajax_options = { 18 action: "sp_sponsors", 19 nonce: self.data("nonce"), 20 ajaxurl: self.data("ajaxurl"), 21 level: self.data("level"), 22 limit: self.data("limit"), 23 width: self.data("width"), 24 height: self.data("height"), 25 size: self.data("size") 26 }; 27 $.post( ajax_options.ajaxurl, ajax_options, function( response ) { 28 self.html( response ); 29 }); 30 }); 31});
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.