1jQuery(document).ready(function() { 2 3 jQuery('#post-tweet-button').click(function(e) { 4 5 var width = 575, 6 height = 400, 7 left = (jQuery(window).width() - width) / 2, 8 top = (jQuery(window).height() - height) / 2, 9 url = this.href, 10 opts = 'status=1' + 11 ',width=' + width + 12 ',height=' + height + 13 ',top=' + top + 14 ',left=' + left; 15 16 window.open(url, 'twitter', opts); 17 18 jQuery.ajax({ 19 type: 'POST', 20 dataType: 'json', 21 url: ajax_tweet_object.ajaxurl, 22 data: { 23 'action': 'ajaxtweet', 24 'post_id': this.dataset.post 25 }, 26 success: function(data) { 27 28 console.log(data); 29 30 }, 31 error: function(data) { 32 console.log(data); 33 34 } 35 }); 36 e.preventDefault(); 37 38 }); 39 40});
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.