1jQuery(document).foundation(); 2/* 3These functions make sure WordPress 4and Foundation play nice together. 5*/ 6 7jQuery(document).ready(function() { 8 9 10 // Remove empty P tags created by WP inside of Accordion and Orbit 11 jQuery('.accordion p:empty, .orbit p:empty').remove(); 12 13 // Makes sure last grid item floats left 14 jQuery('.archive-grid .columns').last().addClass( 'end' ); 15 16 // Adds Flex Video to YouTube and Vimeo Embeds 17 jQuery('iframe[src*="youtube.com"], iframe[src*="vimeo.com"]').each(function() { 18 if ( jQuery(this).innerWidth() / jQuery(this).innerHeight() > 1.5 ) { 19 jQuery(this).wrap("<div class='widescreen flex-video'/>"); 20 } else { 21 jQuery(this).wrap("<div class='flex-video'/>"); 22 } 23 }); 24 25});
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.