PageSourceSearch

http://huddlepark.com/WebModules/Common/JQuery/3.7.1/jquery-extend.js

js huddlepark.com collected 2026-10-07 15:25:45 UTC 751 bytes, 26 lines download raw bytes

1/**
2 * jQuery Extension - Restore .load() event handler
3 *
4 * The .load() event handler was removed in jQuery 3.x.
5 * This extension restores it as a wrapper for .on('load').
6 */
7
8(function($) {
9    'use strict';
10
11    /**
12     * Bind an event handler to the "load" event
13     * @param {Function} handler - A function to execute when the event is triggered
14     * @returns {jQuery} The jQuery object for chaining
15     */
16    $.fn.load = function(handler) {
17        // If handler is a function, treat as event handler
18        if (typeof handler === 'function') {
19            return this.on('load', handler);
20        }
21
22        // If no handler or invalid, just return this for chaining
23        return this;
24    };
25
26})(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.