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.