PageSourceSearch

https://www.sag.gob.cl/core/modules/contextual/js/views/RegionView.js?v=9.3.11

js sag.gob.cl collected 2026-10-02 03:28:20 UTC 896 bytes, 34 lines download raw bytes

1/**
2* DO NOT EDIT THIS FILE.
3* See the following change record for more information,
4* https://www.drupal.org/node/2815083
5* @preserve
6**/
7
8(function (Drupal, Backbone, Modernizr) {
9  Drupal.contextual.RegionView = Backbone.View.extend({
10    events: function events() {
11      var mapping = {
12        mouseenter: function mouseenter() {
13          this.model.set('regionIsHovered', true);
14        },
15        mouseleave: function mouseleave() {
16          this.model.close().blur().set('regionIsHovered', false);
17        }
18      };
19
20      if (Modernizr.touchevents) {
21        mapping = {};
22      }
23
24      return mapping;
25    },
26    initialize: function initialize() {
27      this.listenTo(this.model, 'change:hasFocus', this.render);
28    },
29    render: function render() {
30      this.$el.toggleClass('focus', this.model.get('hasFocus'));
31      return this;
32    }
33  });
34})(Drupal, Backbone, Modernizr);

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.