1 2ACC.customercodes = { 3 4 _autoload: [ 5 ["markSearchTerm", ($(".customercodes-product-item").length > 0 && $(".search-highlight-js"))] 6 ], 7 8 markSearchTerm: function () { 9 var searchTerm = $("[data-search-term]").data("searchTerm"); 10 if (searchTerm != null) { 11 $(".search-highlight-js").each(function(index, value) { 12 if ($(value).text().trim().localeCompare(searchTerm, undefined, { sensitivity: 'base' }) === 0) { 13 $(value).addClass("highlighted") 14 } 15 }); 16 } 17 } 18}
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.