1"use strict"; 2 3var form = $('#loginForm'); 4var tos = 0; 5form.submit(function (e) { 6 if (form.find('input[name="email"]').val().length === 0 || form.find('input[name="pass"]').val().length === 0) { 7 e.preventDefault(); 8 return; 9 } 10 11 if ($('#logging-in-card').length === 0) { 12 $('#login-form').fadeOut(function () { 13 $('#progress-form').fadeIn(); 14 }); 15 } else { 16 $('#form-card').fadeOut("fast", function () { 17 $('#logging-in-card').fadeIn("fast"); 18 }); 19 } 20}); 21$('.language-select').click(function () { 22 var lang = $(this).data('value'); 23 $.ajax({ 24 type: "POST", 25 url: "/home/ajax_set_language/" + lang, 26 success: function success() { 27 window.location.reload(); 28 }, 29 error: error 30 }); 31}); 32 33function error(data, status, error) { 34 console.log(data); 35 console.log(status); 36 console.log(error); 37}
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.