1jQuery( function ($) { 2 $( document ).on( 'found_variation', function (e, variation) { 3 $( '.woocommerce-product-gallery .yith-wcbm-badge-advanced,.woocommerce-product-gallery .yith-wcbm-badge-show-if-variation' ).removeClass( 'yith-wcbm-badge-show-if-variation--visible' ).hide(); 4 $( '.yith-wcbm-badge-show-if-variation--' + variation.variation_id ).addClass( 'yith-wcbm-badge-show-if-variation--visible' ).show(); 5 } ); 6 $( document ).on( 'reset_data', function () { 7 $( '.woocommerce-product-gallery .yith-wcbm-badge-advanced' ).show(); 8 $( '.yith-wcbm-badge-show-if-variation' ).removeClass( 'yith-wcbm-badge-show-if-variation--visible' ).hide(); 9 } ); 10} );
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.