PageSourceSearch

https://www.compsmag.com/wp-content/plugins/penci-review/js/review.js

js compsmag.com collected 2026-09-24 09:03:13 UTC 1,206 bytes, 45 lines download raw bytes

1(function ($) {
2	"use strict";
3	var PENCI = PENCI || {};
4	PENCI.penci_review = function () {
5		$('.penci-review-process').each(function(){
6			var $this = $(this ),
7				$bar = $this.children(),
8				$bar_w = $bar.data('width') * 10;
9			$this.one('inview', function(event, isInView, visiblePartX, visiblePartY) {
10				$bar.animate({width: $bar_w + '%'}, 1000 );
11			}); // bind inview
12		}); // each
13	
14		$('.penci-piechart').each(function(){
15			var $this = $(this);
16			$this.one('inview', function(event, isInView, visiblePartX, visiblePartY) {
17				var chart_args = {
18					barColor	:	$this.data('color'),
19					trackColor	:	$this.data('trackcolor'),
20					scaleColor	:	false,
21					lineWidth	:	$this.data('thickness'),
22					size		:	$this.data('size'),
23					animate		:	1000
24				};
25				$this.easyPieChart(chart_args);
26			}); // bind inview
27		}); // each
28	}
29
30	$(document).ready(function () {
31		PENCI.penci_review();
32	});
33
34	$(window).on("elementor/frontend/init", function () {
35		if (window.elementorFrontend && elementorFrontend.isEditMode()) {
36			elementorFrontend.hooks.addAction(
37				"frontend/element_ready/penci-review.default",
38				function ($scope) {
39					PENCI.penci_review();
40				}
41			);
42		}
43	});
44
45})(jQuery);

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.