1(function($){function do_all_client_side_twitter_oembed(){if(typeof twttr===undefined){$.getScript('https://platform.twitter.com/widgets.js',function(){$('.pending-tweet').each(do_client_side_twitter_oembed);});}} 2function do_client_side_twitter_oembed(){var $this=$(this),text,url='https://api.twitter.com/1/statuses/oembed.json?omit_script=true&callback=?&';if($this.has('a').length){text=$this.find('a').first().attr('href');}else{text=$this.text();} 3if(text.match(/^http(s|):\/\/twitter\.com(\/\#\!\/|\/)([a-zA-Z0-9_]{1,20})\/status(es)*\/(\d+)$/)){url+='url='+encodeURIComponent(text);}else if(text.match(/^(\d+)$/)){url+='id='+text;}else{return;} 4$.getJSON(url,function(data){if(data.html){$this.html(data.html);$this.show();twttr.widgets.load();}});} 5$(document).ready(do_all_client_side_twitter_oembed);$(document.body).on('post-load',do_all_client_side_twitter_oembed);})(jQuery);
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.