PageSourceSearch

http://limefishstudio.com/wp-content/plugins/rich-reviews/js/rich-reviews.js?ver=5.1.27

js limefishstudio.com collected 2026-10-08 17:42:04 UTC 1,860 bytes, 47 lines download raw bytes

1jQuery(function() {
2	jQuery('.rr_review_text').each(function(event){
3		var max_length = 150;
4		if(jQuery(this).html().length > max_length){
5			var short_content 	= jQuery(this).html().substr(0,max_length);
6			var long_content	= jQuery(this).html().substr(max_length);
7			jQuery(this).html(short_content+'<span class="ellipses">... </span><a href="#" class="read_more"><br />Read More</a>'+'<span class="more_text" style="display:none;">'+long_content+' <br /><a href="#" class="show_less" style="display:none;">Less</a></span>');
8			jQuery(this).find('a.read_more').click(function(event){
9				event.preventDefault();
10				jQuery(this).hide();
11				jQuery(this).parents('.rr_review_text').find('span.ellipses').hide();
12				jQuery(this).parents('.rr_review_text').find('.more_text').show();
13				jQuery(this).parents('.rr_review_text').find('a.show_less').show();
14				console.log("culprit");
15			});
16			jQuery(this).find('a.show_less').click(function(event){
17				event.preventDefault();
18				jQuery(this).hide();
19				jQuery(this).parents('.rr_review_text').find('.ellipses').show();
20				jQuery(this).parents('.rr_review_text').find('.more_text').hide();
21				jQuery(this).parents('.rr_review_text').find('a.read_more').show();
22			});
23		}
24	});
25
26	jQuery('.rr_star').hover(function() {
27		renderStarRating(parseInt(jQuery(this).attr('id').charAt(8)));
28	}, function() {
29		renderStarRating(parseInt(jQuery('#rRating').val()));
30	});
31
32	jQuery('.rr_star').click(function() {
33		jQuery('#rRating').val(jQuery(this).attr('id').charAt(8));
34	});
35});
36
37function renderStarRating(rating) {
38	for (var i=1; i<=5; i++) {
39		jQuery('#rr_star_'+i).removeClass('glyphicon-star');
40		jQuery('#rr_star_'+i).removeClass('glyphicon-star-empty');
41		if (i<=rating) {
42			jQuery('#rr_star_'+i).addClass('glyphicon-star');
43		} else {
44			jQuery('#rr_star_'+i).addClass('glyphicon-star-empty');
45		}
46	}
47}

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.