1function addLoading() { 2 if ($(".spinner-loading").length === 0) { 3 var div = document.createElement('div'); 4 $(div).addClass('spinner-loading'); 5 $('body').append(div); 6 } 7} 8 9function removeLoading() { 10 $('.spinner-loading').remove(); 11} 12 13$(document).ajaxStart(function() { 14 addLoading(); 15}); 16 17$(document).ajaxStop(function() { 18 removeLoading(); 19});
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.