1(function($) { 2 "use strict"; 3 $( window ).on( 'elementor/frontend/init', function() { 4 elementorFrontend.waypoint = function($element, callback, options) { 5 const defaultOptions = { 6 offset: '100%', 7 triggerOnce: true 8 }; 9 options = jQuery.extend(defaultOptions, options); 10 const correctCallback = function () { 11 const element = this.element || this, 12 result = callback.apply(element, arguments); 13 14 // If is Waypoint new API and is frontend 15 if (options.triggerOnce && this.destroy) { 16 this.destroy(); 17 } 18 return result; 19 }; 20 21 return $element.elementorWaypoint(correctCallback, options); 22 } 23 }); 24}(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.