1/** 2 * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> 3 * @license GNU General Public License version 2 or later; see LICENSE.txt 4 */ 5 6((window, document) => { 7 window.iFrameHeight = iframe => { 8 const doc = 'contentDocument' in iframe ? iframe.contentDocument : iframe.contentWindow.document; 9 const height = parseInt(doc.body.scrollHeight, 10); 10 if (!document.all) { 11 iframe.style.height = `${parseInt(height, 10) + 60}px`; 12 } else if (document.all && iframe.id) { 13 document.all[iframe.id].style.height = `${parseInt(height, 10) + 20}px`; 14 } 15 }; 16})(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.