1// refactored 2jQuery(document).ready(function(){ 3 // basic init 4 var selectors = [ 5 ".review-stars-container .review-stars", 6 ".review-container .review-rating-overall", 7 ".review-container .review-rating-stars" 8 ]; 9 jQuery(selectors.join(', ')).raty({ 10 font: true, 11 readOnly:true, 12 halfShow:true, 13 starHalf:'fa-star-half-o', 14 starOff:'fa-star-o', 15 starOn:'fa-star', 16 hints: ['','','','',''], 17 score: function() { 18 return jQuery(this).attr('data-score'); 19 }, 20 }); 21 22 // special init -> form init 23 jQuery('.reviews-form-container .review-ratings .review-rating-stars').raty({ 24 font : true, 25 halfShow : false, 26 starHalf : 'fa-star-half-o', 27 starOff : 'fa-star-o', 28 starOn : 'fa-star', 29 hints: ['','','','',''], 30 }); 31 32});
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.