1 2jQuery( function($) { 3 "use strict"; 4 5 if (afwssv_phpvars.afwssv_enable_toggle == 'yes') { 6 $(".products .variations").wrap("<div class='showvar'></div>"); 7 if (afwssv_phpvars.afwssv_toggle_text!='') { 8 9 $("<a class='exspands' href='javascript:void(0)'>"+afwssv_phpvars.afwssv_toggle_text+"</a>").insertBefore(".showvar"); 10 11 } else { 12 13 $("<a class='exspands' href='javascript:void(0)'>Show/Hide Variations</a>").insertBefore(".showvar"); 14 } 15 16 $('.exspands').on("click", function () { 17 var id = $(this).parent().attr('data-product_id'); 18 $('.post-' + id + ' .showvar').toggle(); 19 20 }); 21 } 22 23 24}); 25 26
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.