1var serverUrl = '/upload_files'; 2$(function () { 3 'use strict'; 4 5 // Initialize the jQuery File Upload widget: 6 $('#fileupload').fileupload({ 7 // Uncomment the following to send cross-domain cookies: 8 //xhrFields: {withCredentials: true}, 9 url: serverUrl, 10 maxNumberOfFiles: 5 11 }); 12 13 // Load existing files: 14 $('#fileupload').addClass('fileupload-processing'); 15 $.ajax({ 16 // Uncomment the following to send cross-domain cookies: 17 //xhrFields: {withCredentials: true}, 18 url: $('#fileupload').fileupload('option', 'url'), 19 dataType: 'json', 20 context: $('#fileupload')[0], 21 }) 22 .always(function () { 23 $(this).removeClass('fileupload-processing'); 24 }) 25 .done(function (result) { 26 $(this) 27 .fileupload('option', 'done') 28 // eslint-disable-next-line new-cap 29 .call(this, $.Event('done'), {result: result}); 30 }); 31}); 32
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.