1/** 2 * @description Spacious custom javascript functions 3 * @author ThemeGril 4 */ 5 6/*=============================== 7 = Counter = 8 ===============================*/ 9jQuery( window ).on( 'elementor/frontend/init', function () { 10 elementorFrontend.hooks.addAction( 'frontend/element_ready/widget', function ( $scope ) { 11 12 // Counter 13 if ( ( typeof jQuery.fn.waypoint !== 'undefined' ) && ( typeof jQuery.fn.countTo !== 'undefined' ) ) { 14 $scope.waypoint( function ( direction ) { 15 if ( 'down' === direction ) { 16 $scope.find( '.counter__number' ).countTo(); 17 } 18 }, { 19 triggerOnce: true, 20 offset : '80%' 21 } ); 22 } 23 } ); 24} );
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.