PageSourceSearch

https://bynh.sa/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/chart/chart.js

js bynh.sa collected 2026-09-24 13:02:49 UTC 576 bytes, 39 lines download raw bytes

1/*
2 * ALB Shortcode chart implementation
3 *
4 * @since 5.3
5 */
6(function($)
7{
8	"use strict";
9
10	$.fn.aviaChart = function( options )
11	{
12		if( ! this.length )
13		{
14			return;
15		}
16
17		return this.each( function()
18		{
19			var container = $( this ),
20				config = container.data( 'chart_config' ),
21				context = container.find( '.avia-chart').first(),
22				chart = null;
23
24			if( ! context.length || 'undefined' == typeof( config ) )
25			{
26				return;
27			}
28
29			chart = new Chart( context, config );
30		});
31	};
32
33	$( function()
34	{
35		$('.avia-chart-container').aviaChart();
36	});
37
38}(jQuery));
39

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.