PageSourceSearch

https://www.norrtalje.se/Static/js/custom/blockService.js?v=639258509620000000

js norrtalje.se collected 2026-10-02 10:29:21 UTC 610 bytes, 26 lines download raw bytes

1function BlockService($contentArea, blockClass) {
2    
3    var self = this;    
4    var prevBlock = null;
5    var calculatedValue = 0;
6    var index = 0;
7    
8    $("." + blockClass).each(function (e) {
9        
10        index++;
11
12        if ($(this).prev().is(prevBlock) || index == 1)
13        {
14            calculatedValue = (index - 1) % 3;
15
16            if (calculatedValue == 0 && index != 1)
17            {
18                $(this).addClass("clear-left");
19            }            
20        }
21        else {
22            index = 0;
23        }
24        prevBlock = $(this);
25    });
26}

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.