1/** 2 * @file JS file for images. 3 */ 4 5(function lgdImagesScript(Drupal) { 6 Drupal.behaviors.lgdImages = { 7 attach(context) { 8 const images = once('allImages', 'img', context); 9 if (images.length) { 10 images.forEach((image) => { 11 image.onerror = () => { 12 image.setAttribute('data-img-loading-error', ''); 13 }; 14 }); 15 } 16 }, 17 }; 18})(Drupal);
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.