1var SWApi = function(){ 2 3} 4 5SWApi.prototype.request = function(method, forwardingURL, data, options, url) 6{ 7 var serializedData = ""; 8 9 if(data){ 10 serializedData = (JSON.stringify(data)).replace(/<|>/g, ""); //remove <> so our security preinit does not block the request to the proxy 11 } 12 13 return $.ajax({ 14 url: "/admin/json/apiproxy.asp?forwardingURL=" + forwardingURL +"&method=" + method, 15 method: method, 16 data: { "body": serializedData } , 17 }); 18} 19 20SWApi.prototype.sendRequest = SWApi.prototype.request; 21 22 23swApi = new SWApi(); 24
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.