1$('document').ready(function() { 2 $(".omw-socialfeeds").each(function() { 3 $(this).html('<center><i class="fa fa-spinner fa-spin fa-lg"></i></center>'); 4 var obj = $(this); 5 var socialfeeds = $(this).closest(".module").attr("socialfeeds").split(","); 6 var maxfeeds = $(this).closest(".module").attr("socialfeeds_max"); 7 var facebook=""; 8 var twitter =""; 9 var youtube=""; 10 11 $.each(socialfeeds, function(key,val){ 12 var str = val.split(":"); 13 switch(str[0]){ 14 case "facebook": 15 facebook = str[1]; 16 break; 17 18 case "twitter": 19 twitter = str[1]; 20 break; 21 22 case "youtube": 23 youtube = str[1]; 24 break; 25 26 } 27 }); 28 29 $.ajax({ 30 type: "POST", 31 url: "/_inc/global_assets/builder/apps_helpers/social-stream/getSocialFeed.php?lang="+$('html').attr("iso"), 32 data: "maxfeeds="+maxfeeds+"&facebook=" + facebook + "&twitter=" + twitter + "&youtube=" + youtube, 33 dataType:"json", 34 success: function(msg){ 35 // $(obj).fadeOut("normal", function(){ 36 if (msg.status==1) { 37 $(obj).html(Base64.decode(msg.html)).show(); 38 } 39 //}); 40 41 }, 42 error: function(XMLHttpObj, erroCode) { 43 } 44 }); 45 }); 46 47});
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.