1jQuery(document).ready(function(){ 2 3 // Expose jQuery to the global object 4 window.jQuery = window.$ = jQuery; 5 console.log("PageBuilderRenderer.js - Loaded & Running"); 6 7 function imagesVerticalAlign() { 8 $(".img-valign").each(function(){ 9 parent_height = $(this).height() 10 child_el = $(this).find("img") 11 child_height = $(child_el).height(); 12 if (child_height > parent_height) { 13 negative_diff = (Math.round((child_height - parent_height) / 2) * -1); 14 $(child_el).css("margin-top", negative_diff+"px"); 15 } 16 }); 17 } 18 19 imagesVerticalAlign() 20 21});
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.