PageSourceSearch

https://www.du.edu/modules/contrib/shs/js/models/ContainerModel.js?v=9.5.11

js du.edu collected 2026-10-09 22:41:38 UTC 792 bytes, 49 lines download raw bytes

1/**
2 * @file
3 * A Backbone Model for a single container of the Simple hierarchical select
4 * widget.
5 *
6 * @see Drupal.shs.ContainerView
7 */
8
9(function (Backbone, Drupal) {
10
11  'use strict';
12
13  /**
14   * @constructor
15   *
16   * @augments Backbone.Model
17   */
18  Drupal.shs.ContainerModel = Backbone.Model.extend(/** @lends Drupal.shs.ContainerModel# */{
19
20    /**
21     * @type {object}
22     *
23     */
24    defaults: /** @lends Drupal.shs.ContainerModel# */{
25
26      /**
27       * The container delta (position).
28       *
29       * @type {integer}
30       */
31      delta: 0,
32
33      /**
34       * List of parent items.
35       *
36       * @type {array}
37       */
38      parents: [],
39
40      /**
41       * The current value within the container.
42       */
43      value: null
44
45    }
46
47  });
48
49}(Backbone, Drupal));

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.