1/** 2 * @file 3 * Download button. 4 * 5 */ 6(function ($, Drupal, window) { 7 'use strict'; 8 Drupal.behaviors.abinbevDownloadButton = { 9 attach: function (context, settings) { 10 if ($('.container-download-button')) { 11 var $downloadButtons = $('.container-download-button'); 12 $($downloadButtons).each(function () { 13 var $fileUrl = $(this).find('.download-url-template').text(); 14 var link = $(this).find('.download-url-template').parents('.container-download-button').find('a').attr('href', $fileUrl); 15 }); 16 } 17 } 18 }; 19})(jQuery, Drupal, window);
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.