We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42ea746 commit ceeaaebCopy full SHA for ceeaaeb
src/ajax/load.js
@@ -4,22 +4,13 @@ define([
4
"../ajax",
5
"../traversing",
6
"../manipulation",
7
- "../selector",
8
- // Optional event/alias dependency
9
- "../event/alias"
+ "../selector"
10
], function( jQuery ) {
11
12
-// Keep a copy of the old load method
13
-var _load = jQuery.fn.load;
14
-
15
/**
16
* Load a url into a page
17
*/
18
jQuery.fn.load = function( url, params, callback ) {
19
- if ( typeof url !== "string" && _load ) {
20
- return _load.apply( this, arguments );
21
- }
22
23
var selector, response, type,
24
self = this,
25
off = url.indexOf(" ");
0 commit comments