1/** 2 * Snippet to clear out textareas that may have stray whitespace from rendering. 3 */ 4function cleanTextareas() { 5 let textareas = document.getElementsByTagName('textarea'); 6 if (textareas.length > 0) { 7 for (let i = 0; i < textareas.length; i++) { 8 textareas[i].value = textareas[i].value.trim(); 9 } 10 } 11} 12 13(function (window, document) { 14 15 window.onload = init; 16 17 function init() { 18 cleanTextareas(); 19 } 20 21})(window, document);
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.