1const ajax_defaults_formdata = { 2 type:'post', 3 dataType:'json', 4 processData: false, 5 cache: false, 6 contentType: false 7}; 8 9const ajax_defaults_serialize = { 10 type:'post', 11 dataType:'json' 12}; 13 14const cl = (expression) => console.log(expression); 15 16const before_send_cleanup = (form_id) => { 17 $(`#${form_id} .error-msg`).text(''); 18 $(`#${form_id} .border-danger`).removeClass('border-danger'); 19 $(`#${form_id} .btn`).prop('disabled', true); 20} 21 22const display_errors = (error_msgs) => { 23 error_msgs.forEach((msg_arr) => { 24 $(`#${msg_arr.id}`).addClass('border-danger'); 25 $(`#${msg_arr.id}_msg`).text(msg_arr.msg); 26 }); 27}
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.