1/** 2 * @file 3 * Global utilities. 4 * 5 */ 6(function($, Drupal) { 7 'use strict'; 8 $( ".button-outline-violet" ).click(function() { 9 let category = $('.views-element-container').children('h2').text(); 10 let parentElement = $(this).parent().parent().parent().parent(); 11 let title = parentElement.find('h4:first-child').text(); 12 let ext = parentElement.find('.col-2').children('p:first-child').text(); 13 gtag('event', ext, { 14 event_category: category, 15 event_label: title, 16 transport_type: 'beacon' 17 }); 18 }); 19})(jQuery, Drupal); 20
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.