1jQuery(function ($) { 2 3 console.log("Plugin List Mixcloud : Do you want help to translate plugin, share an improvement or issue ? Go to https://wordpress.org/plugins/list-mixcloud/"); 4 5 $ = jQuery; 6 7 dom = $("#uniqueWidget"); 8 9 if(dom.length) { 10 11 srcRoot = $("#uniqueWidget").attr('src').split("&feed=")[0]; 12 13 li = $('#plList li').on('click', function () { 14 15 widget = Mixcloud.PlayerWidget(document.getElementById("uniqueWidget")); 16 17 var id = $(this).find(".plItem>.plTitle").attr('idtrack'); 18 19 widget.ready.then(function() { 20 21 widget.pause(); 22 23 widget.load(decodeURI(id),true).then(function() { 24 25 //widget.ready.then(function() { 26 27 console.log(decodeURI(id)); 28 29 widget.getCurrentKey().then(function(key) {srcRoot = $("#uniqueWidget").attr('src').split("&feed=")[0]; dom.attr('src',srcRoot + "&feed="+id); console.log(key);}); 30 31 widget.play(); 32 33 //}); 34 35 }); 36 37 $('.plSel').removeClass('plSel'); 38 39 $(this).addClass('plSel'); 40 41 }); 42 43 44 45 }); 46 47 } 48 49});
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.