PageSourceSearch

https://moratelindo.co.id/js/modules/animate-numbers.js

js moratelindo.co.id collected 2026-10-02 15:53:27 UTC 959 bytes, 27 lines download raw bytes

1jQuery(function ($) {
2    // Video - numbers animate
3    $('.j-number-up-wrap').on('scrollSpy:enter', function () {
4        if (!$(this).hasClass('is-completed')) {
5            $(this).addClass('is-completed');
6            $('.j-number-up', $(this)).each(function (i) {
7                var INCSTEP = 100;
8                var number = 0,
9                    $self = $(this),
10                    inc;
11                var videoNumberStr = $(this).html();
12                var videoNumber = parseInt(videoNumberStr, 10);
13                inc = videoNumber / INCSTEP;
14                NumberUp();
15
16                function NumberUp() {
17                    number += inc;
18                    if (number <= videoNumber) {
19                        $self.html(Math.ceil(number));
20                        setTimeout(NumberUp, 5);
21                    }
22                }
23            });
24        }
25    });
26    $('.j-number-up-wrap').scrollSpy();
27});

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.