PageSourceSearch

https://coljuristas.org/js/imagen.js

js coljuristas.org collected 2026-10-01 12:16:29 UTC 657 bytes, 25 lines download raw bytes

1inView( 'figure' ).on( 'enter', function( figure ) {
2 
3     var img = figure.querySelector( 'img' ); // 1
4 
5     if (  'undefined' !== typeof img.dataset.src ) { // 2
6 
7         figure.classList.add( 'is-loading' ); // 3
8 
9         // 4
10         newImg = new Image();
11         newImg.src = img.dataset.src;
12 
13         newImg.addEventListener( 'load', function() {
14 
15            figure.innerHTML = ''; // 5
16            figure.appendChild( this );
17 
18            // 6
19            setTimeout( function() {
20               figure.classList.remove( 'is-loading' );
21               figure.classList.add( 'is-loaded' );
22            }, 300 );
23         } );
24     }
25} );

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.