PageSourceSearch

https://www.caritassegovia.es/main-files/themes/101wp/modules/banner/banner-build.js?ver=1.0.0

js caritassegovia.es collected 2026-09-27 13:52:01 UTC 942 bytes, 41 lines download raw bytes

1'use strict';
2
3var Banner = function(){
4
5    var $ = jQuery;    
6    var instances = [];
7
8    function onReady() {
9        $('.module.banner').each(function () {
10            instances.push(initInstance($(this)));
11        });
12    }
13
14    function initInstance(view) {
15
16        // Private properties
17        // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
18
19        var $view = view,
20            id = $view.data('id');
21
22        // Private methods
23        // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
24
25        // instance object
26        var instance = {
27            init: function () {
28                // Remove this lines this and the next line
29                console.log('Instance of banner initialized with id and view: ', id, view);
30            }
31        };
32
33        instance.init();
34        return instance;
35    }
36
37    // DOMContentLoaded
38    $(onReady);
39}
40
41Banner();

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.