1(function (Drupal, $, once) { 2 Drupal.behaviors.tabbedLayerScripts = { 3 attach: function (context, settings) { 4 5 $(once('tabbedLayer', '.tabbed-layer', context)).each(function () { 6 7 $(once('tabButtonClick', '.tab-button a')).on('click', function(e) { 8 e.preventDefault(); 9 let tabIndex = $(this).data('tab-index'); 10 let tabsContainer = $(this).closest('div.tabs-container'); 11 12 tabsContainer.find('.is-active').removeClass('is-active'); 13 $(this).addClass('is-active'); 14 tabsContainer.find('.tab-button-index-' + tabIndex).addClass('is-active'); 15 tabsContainer.find('.tab-page-index-' + tabIndex).addClass('is-active'); 16 }); 17 18 }); 19 20 } 21 }; 22})(Drupal, jQuery, once);
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.