1/* global jQuery ScrollTrigger*/ 2( function( $ ) { 3 const initializeMilestoneBlock = function() { 4 $( '.milestone-card-container' ).each( function() { 5 const $card = $( this ); 6 ScrollTrigger.create( { 7 trigger: $card[ 0 ], 8 start: 'center 60%', 9 toggleClass: { 10 targets: $card[ 0 ], 11 className: 'active', 12 }, 13 } ); 14 } ); 15 }; 16 17 $( document ).ready( function() { 18 initializeMilestoneBlock(); 19 } ); 20}( jQuery ) );
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.