PageSourceSearch

https://drmgrdu.ac.in/wp-content/themes/drmgr_university/elementor/js/cms-counter-widget.js?ver=1.0.0

js drmgrdu.ac.in collected 2026-10-02 04:40:24 UTC 1,082 bytes, 28 lines download raw bytes

1( function( $ ) {
2    /**
3     * @param $scope The Widget wrapper element as a jQuery element
4     * @param $ The jQuery alias
5     */
6    var WidgetCMSCounterHandler = function( $scope, $ ) {
7        setTimeout(function(){
8            elementorFrontend.waypoint($scope.find('.elementor-counter-number'), function () {
9                var $number = $(this),
10                    data = $number.data();
11
12                var decimalDigits = data.toValue.toString().match(/\.(.*)/);
13
14                if (decimalDigits) {
15                    data.rounding = decimalDigits[1].length;
16                }
17
18                $number.numerator(data);
19            });
20        }, 150);
21    };
22
23    // Make sure you run this code under Elementor.
24    $( window ).on( 'elementor/frontend/init', function() {
25        elementorFrontend.hooks.addAction( 'frontend/element_ready/cms_counter.default', WidgetCMSCounterHandler );
26        elementorFrontend.hooks.addAction( 'frontend/element_ready/cms_counter_carousel.default', WidgetCMSCounterHandler );
27    } );
28} )( 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.