1'use strict'; 2 3(function ($, Drupal, once) { 4 5 Drupal.behaviors.image_background_formatter = { 6 attach: function (context, settings) { 7 8 $(once('once-id-img-background-formatter', '.image-background-formatter')).each(function () { 9 const bg = $(this).data('bg'); 10 if (bg !== '' && $(this).css('background-image') === 'none') { 11 $(this).css({ 12 'background-image': 'url(' + bg + ')' 13 }); 14 } 15 }); 16 } 17 }; 18 19})(jQuery, Drupal, 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.