1function openReviewDialog(url, modalContainer) { 2 console.log("loadContent invocation"); 3 jQuery("#content-review-control-menu-portlet-container-toggle > span").addClass("icon-spinner"); 4 jQuery("#content-review-control-menu-portlet-container-toggle > span > svg").hide(); 5 doRequest(url, 'GET', {}) 6 .done(function (template) { 7 modalContainer.empty(); 8 modalContainer.html(template); 9 console.log("modal content loaded"); 10 11 jQuery("#content-review-control-menu-portlet-container-toggle > span").removeClass("icon-spinner"); 12 jQuery("#content-review-control-menu-portlet-container-toggle > span > svg").show(); 13 console.log("request finished"); 14 }) 15 .fail(function (xhr, textStatus, errorThrown) { 16 console.error("request failed"); 17 }) 18} 19 20function doRequest(url, type, dynamicData) { 21 console.log("requesting url: " + url); 22 return $.ajax({ 23 url: url, 24 type: type, 25 data: dynamicData, 26 cache: false 27 }); 28}; 29
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.