1window.WP_Grid_Builder && WP_Grid_Builder.on( 'init', onInit ); 2 3function onInit( wpgb ) { 4 wpgb.facets && wpgb.facets.on( 'appended', onAppended ); 5} 6 7function onAppended( content ) { 8 9 /* Lightbox */ 10 if (typeof doExtrasLightbox == 'function' && jQuery(content).has('.oxy-lightbox')) { 11 doExtrasLightbox(jQuery(content)); 12 } 13 14 /* Read More / Less */ 15 if (typeof doExtrasReadmore == 'function' && jQuery(content).has('.oxy-read-more-less')) { 16 doExtrasReadmore(jQuery(content)); 17 } 18 19 /* Tabs */ 20 if (typeof doExtrasTabs == 'function' && jQuery(content).has('.oxy-dynamic-tabs')) { 21 doExtrasTabs(jQuery(content)); 22 } 23 24 /* Accordion */ 25 if (typeof doExtrasAccordion == 'function' && jQuery(content).has('.oxy-pro-accordion')) { 26 doExtrasAccordion(jQuery(content)); 27 } 28 29 /* Carousel */ 30 if (typeof doExtrasCarousel == 'function' && jQuery(content).has('.oxy-carousel-builder')) { 31 doExtrasCarousel(jQuery(content)); 32 } 33 34 /* Popover */ 35 if (typeof doExtrasPopover == 'function' && jQuery(content).has('.oxy-popover')) { 36 doExtrasPopover(jQuery(content)); 37 } 38 39 /* copy to clipboard */ 40 if (typeof doCopyToClipboard == 'function' && jQuery(content).has('.oxy-copy-to-clipboard')) { 41 doCopyToClipboard(jQuery(content)); 42 } 43 44 /* social share */ 45 if (typeof doExtrasSocialShare == 'function' && jQuery(content).has('.oxy-share-button')) { 46 doExtrasSocialShare(jQuery(content)); 47 } 48 49 50 content.forEach((container) => { 51 52 /* print */ 53 if (typeof doExtrasSocialSharePrint == 'function' && jQuery(content).has('.oxy-share-button.print')) { 54 doExtrasSocialSharePrint(container); 55 } 56 57 }) 58 59 60 61 62 63}
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.