PageSourceSearch

https://www.hec.edu/modules/contrib/datalayer/js/datalayer.js?v=1.x

js hec.edu collected 2026-09-24 08:31:36 UTC 577 bytes, 31 lines download raw bytes

1/**
2 * @file Common data layer helper.
3 */
4
5(function () {
6  Drupal.behaviors.dataLayer = {
7
8    /**
9     * The language prefix list (no blank).
10     *
11     * @return {array}
12     */
13    langPrefixes: function langPrefixes() {
14      var languages = Drupal.settings.dataLayer.languages,
15          langList = [];
16
17      for (var lang in languages) {
18        if (languages[lang].prefix !== '') {
19          langList.push(languages[lang].prefix);
20        }
21      }
22      return langList;
23    },
24
25    /**
26     * Drupal behavior.
27     */
28    attach: function() { return }
29
30  };
31})();

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.