PageSourceSearch

https://sag.cl/core/modules/contextual/js/views/KeyboardView.js?v=9.3.11

js sag.cl collected 2026-10-02 03:57:35 UTC 818 bytes, 31 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) {
9  Drupal.contextual.KeyboardView = Backbone.View.extend({
10    events: {
11      'focus .trigger': 'focus',
12      'focus .contextual-links a': 'focus',
13      'blur .trigger': function blurTrigger() {
14        this.model.blur();
15      },
16      'blur .contextual-links a': function blurContextualLinksA() {
17        var that = this;
18        this.timer = window.setTimeout(function () {
19          that.model.close().blur();
20        }, 150);
21      }
22    },
23    initialize: function initialize() {
24      this.timer = NaN;
25    },
26    focus: function focus() {
27      window.clearTimeout(this.timer);
28      this.model.focus();
29    }
30  });
31})(Drupal, Backbone);

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.