1(function () { 2 'use strict'; 3 window.addEventListener('load', function () { 4 var forms = document.getElementsByClassName('needs-validation'); 5 var validation = Array.prototype.filter.call(forms, function (form) { 6 form.addEventListener('submit', function (event) { 7 if (form.checkValidity() === false) { 8 event.preventDefault(); 9 event.stopPropagation(); 10 } 11 form.classList.add('was-validated'); 12 }, false); 13 }); 14 }, false); 15})();
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.