1class AjaxLoader { 2 3 loadProject(projectUid,callback,targetObject){ 4 let request = new XMLHttpRequest(); 5 request.open("GET", SHOWCASE.baseurl+'?type=78&tx_showcase_show[project]='+projectUid, true); 6 request.onreadystatechange = function() { 7 if (this.readyState == 4 && this.status == 200) { 8 callback(this.responseText,targetObject); 9 } 10 } 11 request.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); 12 request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); 13 request.send(); 14 } 15 16}
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.