1for (const rating of document.querySelectorAll('[data-item="starry-rating"]')) { 2 const rate = parseInt(rating.innerText); 3 const starRating = new Starry(rating, 4 { 5 stars:rate, 6 readOnly:true, 7 icons: { 8 // File path, uri or base64 string for `src` attribute 9 blank: '/assets/i/svg/star.svg', 10 active: '/assets/i/svg/star.svg', 11 hover: '/assets/i/svg/star.svg' 12 } 13 } 14 ); 15}
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.