1jQuery( document ).ready( function() { 2 const blocks = jQuery.find( '.wp-block-cgb-block-p5js' ); 3 jQuery.each( blocks, function() { 4 const block = jQuery( this ); 5 const iFrame = jQuery( block ).find( 'iframe' ); 6 jQuery( iFrame ).on( 'load', function() { 7 const iFrameBody = jQuery( this ).get( 0 ).contentWindow.document.body; 8 jQuery( iFrame, block ).height( jQuery( iFrameBody ).find( 'canvas' ).height() + 5 ); 9 } ); 10 } ); 11} );
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.