PageSourceSearch

https://www.erm.com/src/scripts/ias-initialisation.js

js erm.com collected 2026-10-09 21:43:12 UTC 1,041 bytes, 39 lines download raw bytes

1function initScroll() {
2
3    var ias = jQuery.ias({
4        container: '#items-container',
5        item: '.list-result',
6        pagination: '#pagination',
7        next: '.next'
8    });
9
10    ias.destroy();
11
12    ias.extension(new IASSpinnerExtension());
13
14    // needed by the history extension
15    ias.extension(new IASTriggerExtension({
16        text: 'Load More',
17        html: '<div class="load-more"><a>{text}</a></div>',
18        textPrev: "Load Previous",
19        htmlPrev: '<div class="load-more load-more-prev"><a>{text}</a></div>'
20    }));
21    ias.extension(new IASPagingExtension());
22
23    ias.extension(new IASHistoryExtension({
24        prev: '.previous'
25    }));
26
27    ias.on('rendered', function () {
28        if (document.querySelector('img[data-src]') || document.querySelector('div[data-src]')) {
29            new DeferImages();
30        }
31    
32        if (document.querySelectorAll('.vid-true')) {
33            new VideoModelController();
34        }
35    });
36
37    ias.bind();
38}
39initScroll();

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.