PageSourceSearch

https://hamiltonpolice.on.ca/sites/all/modules/contrib/views_slide…/views_slideshow_galleria.js?tltrdy

js hamiltonpolice.on.ca collected 2026-09-24 20:46:37 UTC 994 bytes, 30 lines download raw bytes

1
2/**
3 *  @file
4 *  Initiate the Galleria plugin.
5 */
6
7(function ($) {
8  Drupal.behaviors.viewsSlideshowGalleria = {
9    attach: function (context, settings) {
10      for (id in Drupal.settings.viewsSlideshowGalleria) {
11        $('#' + id + ':not(.viewsSlideshowGalleria-processed)', context).addClass('viewsSlideshowGalleria-processed').each(function () {
12          var settings = Drupal.settings.viewsSlideshowGalleria[$(this).attr('id')];
13          // Eval settings that are functions.
14          if (settings['extend']) {
15            var extend = settings['extend'];
16            eval("settings['extend'] = " + extend);
17          }
18          if (settings['dataConfig']) {
19            var dataConfig = settings['dataConfig'];
20            eval("settings['dataConfig'] = " + dataConfig);
21          }
22          // Load the theme.
23          Galleria.loadTheme(settings['themePath']);
24          // Fire up the gallery.
25          $(this).galleria(settings);
26        });
27      }
28    }
29  };
30}(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.